Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 6

View files in a PR collapsed not expanded

Solved! Go to Solution.

I have to revew PRs ... many PRs.

When I cick to see the changed files I see all of the files and changes  expanded with changes which is inconvenient and has been an issue for me.

How do I see the list of files collapsed so I can pick the files I actually want to see?

5 Replies
Solution
Copilot Lvl 3
Message 2 of 6

Re: View files in a PR collapsed not expanded

Hi! 👋 So, I'm not sure if you can have this as a default but you CAN collapse the files you don't need to see that have been changed by clicking the arrow at the top right corner of each file (see pic of random PR i found for an example 😀).

 

commitfiles_LI.jpg

 

Hope that helps!

Copilot Lvl 3
Message 3 of 6

Re: View files in a PR collapsed not expanded

IMNSHO, this is not a good solution.  My colleague opened a PR which contained more than thirty changes.  Five were changes I was interested in and the others were new, large JSON files that were added to the repo.  During the review, the files I need to see weren't located contiguously, so I had to painstakingly... click... each... collapse... button... as... you... described... one... by... one.  😛

GH needs to have controls in PR code reviews for collapse all, expand all, and probably toggle all.  There should also be an setting to start reviews with all changes collapsed.
Moderator
Message 4 of 6

Re: View files in a PR collapsed not expanded

@lsloan This is great feedback. We're always working to improve GitHub, and we consider every suggestion we receive. However, we currently are asking that feature requests be submitted via our contact form here. We are working on introducing a feature to the Community Forum that will allow users to submit feature requests right here, but for now, we are continuing to log and consider feature requests via email. 

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 5 of 6

Re: View files in a PR collapsed not expanded

Gotcha!  This forum _feels_ like the place for this type of discussion and feedback, so I bet you'll send many, many messages directing users to that contact page:

* https://github.com/contact

Let's hope a GH issue reporter appears here (or better yet, in GH) soon.

PS: Have you seen:

* https://github.com/dear-github/dear-github
Highlighted
Copilot Lvl 3
Message 6 of 6

Re: View files in a PR collapsed not expanded

Good request!  I was thinking of that recently, too.  I'd like the option of all the changes starting out as collapsed, then I could expand the ones I need to see.  There should also be controls to expand all or collapse all changes.  (Maybe even a toggle all button that expands all collapsed changes and vice versa.)