isaacs / github

Just a place to track issues and feature requests that I have for github
2.21k stars 129 forks source link

Add a "skip to next file" link at top of every file in a diff #724

Open jamonholmgren opened 8 years ago

jamonholmgren commented 8 years ago

I often have to review pull request diffs that include large, generated JS files (several thousand lines long). I really don't care about the generated code, so I'd like to just skip to the next "real" file.

I would like a link in the header that says "Skip to next file". There are already links in the drop-down in the floating menu bar above, so essentially attaching those to each file header would be good.

screen shot 2016-07-19 at 11 20 27 am

Alternatively, put a "Skip to next file" in the floating menu bar.

Mottie commented 8 years ago

Maybe #671 is an alternative solution for you?

jamonholmgren commented 8 years ago

@Mottie yeah, that userscript will help in the interim. Collapsing is a fine alternative too. The Skip button may be easier to implement?

Mottie commented 8 years ago

Ok, a "diff-links" userscript is now available. It will work along side the diff toggle userscript.

github-diff-links

jamonholmgren commented 8 years ago

That's amazing, @Mottie !! Thanks!