The ability to toggle the file content during pull requests reviews is awesome, but sometimes the diff is hard to read and when you decide to copy the filename to read it in the IDE, the toggle feature interfere with this process (e.g. when you try to select the filename to copy it, you sometimes toggle the file's content several times).
It is possible to create method to copy the filename in the pull requests to the clipboard?

Thanks!
Sure, that could be useful. Pull request welcome if anyone wants this.
I'm working on it @sindresorhus :)
Just to mention the issue initially reported in this issue is now obsolete after #405 as GitHub has implemented collapsing. I think we should close this issue even with #417 in the works.
Has anyone ever used this button? What's the use? It's a bit weird that it only appears in PR files and nowhere else.
Most helpful comment
I'm working on it @sindresorhus :)