View files in a PR collapsed not expanded #21557
-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
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 😀). Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
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.) |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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: |
Beta Was this translation helpful? Give feedback.
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 😀).
Hope that helps!