Collapsable Diffs and Linked Branches (GitHub)

Adds a toggle to collapse diffs in GitHub's pull request and commit diff interfaces

< Feedback op Collapsable Diffs and Linked Branches (GitHub)

Recensie: Goed - het script werkt zoals het hoort

§
Geplaatst: 28-09-2016

Works nicely, thanks!

Does what it says on the tin.

§
Geplaatst: 29-09-2016
Does what it says on the tin.

Although I just noticed that it seems to fail to collapse diffs which are images, e.g. https://github.com/crowbar/crowbar-ui/pull/53/files

chriskim06Maker
§
Geplaatst: 01-10-2016

I will try to fix that soon. I've never actually dealt with a pull request that had images as part of the files changed. Also I fixed an issue where the fold all button would get added multiple times when you switched between the diff, comments, and commits tabs.

chriskim06Maker
§
Geplaatst: 02-10-2016

Alright @aspiers images and binary data should be collapsible now. Thanks for the feeback!

Reactie plaatsen

Log in om antwoord te geven.