You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add collapse all files on PR - Files Changed tab #226
Pretty self-explanatory, when the PR touches a large amount of files, it would be nice to collapse all files.
(I'm a bit new to the extension, but my guess is this wouldn't be very hard to accomplish)
Reacted by Nate Ben, Bo Lingen, Attila Kerekes, Alan Wołejko, Stanislav Dimitrov, Paul Li, Amir Tugendhaft, Felix Edelmann, Iceflower, Aziz Unsal and 16 more
Reacted by Mário Filipe Pinhal, Kasim Necdet Percinel and Edward Granger
Reacted by Felix Edelmann, Kasim Necdet Percinel and Edward Granger
Reacted by Mário Filipe Pinhal, Paul Li, Constantin Titarenko, Anna Rasshivkina, Zach Herries, Michael Frère, Islam Azab, Bill Fienberg, Ameya Koshti and Joe Lanman
Reacted by Constantin Titarenko, Zach Herries and Islam Azab
@sindresorhus Have any problems with this feature being added back? Specifically, a button that allows collapsing (and probably re-expanding) all files in a diff? We'd still keep the default behavior of everything being expanded on page load.
This is something I'd use frequently @ work.
Reacted by Mário Filipe Pinhal, Periwink and Felix Edelmann
See: #308 Happy to add it back if someone commits to maintaining it.
I checked #308. I would like to commit to maintaining it, in what concerns specifically to this feature, for now at least. I will try to submit a PR soon about this when I have an opportunity.
Hopefully the interface on the page will surface that information, instead of relying on people googling for it! The feature may as well not exist if it's not documented, and it is a fantastic quality of life improvement.
@queeniema GitHub added this feature natively so it was removed from Refined GitHub. If you're on an old version of GHE that doesn't have it, try the last version of Refined GitHub that has it: bebc684 or 2018.9.11
Activity
hneiva commentedon May 20, 2016
Btw, for anyone that also wants this feature, this is what I'm using to accomplish it manually
On the console:
paulmolluzzo commentedon May 20, 2016
There used to be a collapse/expand all button, but it was removed. I don't know if we want to bring it back or what.
DrewML commentedon Jun 24, 2016
@paulmolluzzo Used to be in this extension, or in GitHub's UI itself?
Would love to see this implemented. Have wanted it a few times recently.
paulmolluzzo commentedon Jun 24, 2016
@DrewML In the extension.
DrewML commentedon Jul 4, 2016
@sindresorhus Have any problems with this feature being added back? Specifically, a button that allows collapsing (and probably re-expanding) all files in a diff? We'd still keep the default behavior of everything being expanded on page load.
This is something I'd use frequently @ work.
sindresorhus commentedon Jul 7, 2016
It was removed in #85 (comment).
Why? What's the use-case?
mfpinhal commentedon Oct 19, 2016
👍 for bringing this feature back. Thanks @hneiva for the "hack".
@sindresorhus:
My use-case is that I just want to skip some files and dig into a few down the list.
hneiva commentedon Oct 19, 2016
@sindresorhus use case:
sindresorhus commentedon Oct 20, 2016
See: #308 Happy to add it back if someone commits to maintaining it.
mfpinhal commentedon Oct 21, 2016
I checked #308. I would like to commit to maintaining it, in what concerns specifically to this feature, for now at least. I will try to submit a PR soon about this when I have an opportunity.
Add Collapse All/Expand All button to PR diffs. Closes #226
Add Collapse All/Expand All button to PR diffs. Closes #226
fregante commentedon May 30, 2017
Is this needed? You can already skip all files by using this dropdown
11 remaining items
andrewbrntt commentedon Jun 4, 2018
Those commands seem to expand all the files. Why would it do that?
IslamAzab commentedon Jun 11, 2018
@andrewbrntt and collapse all files too
lukehefson commentedon Aug 17, 2018
Just wanted to let you all know that we just shipped this 'natively' within GitHub as part of our Papercuts initiative 🎉
aunu53 commentedon Sep 25, 2018
@lukehefson could you clarify that this feature exists? I have no idea where this "collapse all" button is :(
fregante commentedon Sep 25, 2018
Alt+click on the “minimize file” button
lukehefson commentedon Sep 26, 2018
That's right – thanks @bfred-it!
@auni53 There's also a more detailed explanation in our changelog if that helps!
aunu53 commentedon Sep 26, 2018
Thanks, it works great! Hopefully future people will be able to Google to find that information.
benfreke commentedon Sep 27, 2018
Hopefully the interface on the page will surface that information, instead of relying on people googling for it! The feature may as well not exist if it's not documented, and it is a fantastic quality of life improvement.
fregante commentedon Sep 27, 2018
Refined GitHub used to show this info in a tooltip, maybe GitHub should do the same
queeniema commentedon Feb 8, 2019
@lukehefson This doesn't seem to work in GitHub Enterprise?
busches commentedon Feb 9, 2019
@queeniema please open an issue with more details, including behavior not working, any console errors, and what version of GHE you're using.
fregante commentedon Feb 9, 2019
@queeniema GitHub added this feature natively so it was removed from Refined GitHub. If you're on an old version of GHE that doesn't have it, try the last version of Refined GitHub that has it: bebc684 or 2018.9.11
qburst-sreeragh commentedon Apr 5, 2019
Alt + clickseems to be not working for me.to collapse all files, I appended this to the url,
?file-filters%5B%5D=Making this
https://github.com/organisation/my-repo/pull/151/filesto this
https://github.com/organisation/my-repo/pull/151/files?file-filters%5B%5D=worked for me