🆕 Pull Request File Tree (Beta) Feedback #12341
Replies
|
Great addition to PR reviews! This is a much easier way to navigate and visualize changes in a PR. If/when this hits public release please give the option to pin it to the right side instead of only the left! |
|
Looks good! Even if really big PRs, I can finally filter using part of the filename, which was close to impossible before! 👏🏼 |
|
Great addition! But I think, that a indicator should be added, at which File you are currently looking (because you can scroll like before, but the indicator itself does not update its location) |
|
Looks great so far
And a single bug I've come across
|
|
Great addition! Found a possible bug:
|
|
Looks good. As a suggestion I would like to see which files have comments in the tree. |
|
I like it but I wanted to disable it to test something but disabling it in feature preview does nothing and I still seeing file tree. |
|
Love the new feature. Here is a mock up of how it could look if a file is marked as |
|
Nice addition. The feature does not seem to work in the commits tab of the PR. In our shop, we typically do commit-by-commit reviews and rarely use the files changed. It would be nice to have the file tree in commits as well. |
|
First of all amazing feature, cheers! In a long diff, clicking a file name for the first time correctly positions the view and highlights the file with blue marker but clicking a second time moves the view a bit down and obscures the highlight. I would expect the second click do nothing -- maybe fold/unfold the file. |
|
It's really useful but some minor points:
|
|
I like the ability to navigate the file tree, but I wish it would remember whether the drawer/sidebar was open/closed. I often have GitHub in a narrow window (as GitHub is fits comfortably in a narrow window), but with the file tree defaulting to open the space for the diff is greatly reduced. |
|
I think it is almost ready for deployment, however it would be great if the icon to toggle show/hide would be accessible even after one scrolls the page down. |
|
how about resizer line for file tree content size? long string is limited by your thin content box Screen.Recording.2022-05-10.at.3.57.35.PM.mov |
|
it is need to show checking icon for viewed file it support on better pull request extension (https://chrome.google.com/webstore/detail/better-pull-request-for-g/nfhdjopbhlggibjlimhdbogflgmbiahc) |
|
Could you add a way to review PR "chunk-by-chunk" instead of "file-by-file", so instead of marking a file as "viewed" we could mark each "chunk" one by one. It would be a major improvement for reviews when files are big and have many changes. |
|
This feature looks really promising. I think it could be a little bit helpful when the file that is currently at the top on the right side is being highlighted in the right side so that you can quickly find the file that you are currently watching. I don't know if I have explained it well and when I haven't I am sorry. (Maybe I will make my comment better later) |
|
Some comments:
|
|
I really like the feature, use it daily.
And it'd be better to have, for example:
|
|
Hi! |
|
Really useful. It can be perfect with the ability to mark multiple files (or a directory) as viewed. Classical use case: dependencies embedded in repository. |
|
This has been a really great improvement. Thank you github 👍🏻 One suggestion, I've noticed when I'm viewing a PR that has enough files to make the file tree scroll and enough files to make the file content scroll that the scroll viewport of the file tree is cut off (when at the top of the screen). (There are more files below the "chipidea" folder.) If I scroll down so the PR UI collapses "up", the full scroll viewport of the file tree is visible In the second image, I can scroll the whole file tree. This is a bit annoying when I come into a PR and am looking for a file in the file tree to jump to. It would be a bit faster if I could scroll through the whole file tree and find what I need and could jump to the file content instead of having to scroll in the content area first, then scroll in the file tree to find my file. Thanks for considering! PR referenced: https://github.com/torvalds/linux/pull/115/files |
Indication on source tree to mark viewed filesWhen reviewing PRs with a large number of file changes, it's hard to keep track of what files you've reviewed because the majority of the screen has been taken over by the files you are viewing. If you want to know what files you've reviewed, you need to scroll through the page to see if the file has the "viewed" checkbox checked. It would be great if the source tree on the left can have an "eye" icon to indicate the files you've reviewed. |
|
The file tree is horrible. It truncates the names of directories and the names of files. When there are a lot of files I end up with an internal scrollbar on the page and I have to use the page scroll bar and the internal scroll bar and even then I only get a partial list of files. Please bring back the simple list of full file paths. The file tree is a major step backwards in terms of usability. At the very least, please give me a setting so I can turn the horrible file tree off and revert to the simple list of files. |












For the past few months, we've been working hard to improve the Pull Request experience. One of the features we're most excited about: Pull Request File Tree. The new tree:
See the changelog for [a few more] details.
What you need to know
The file tree only appears if the pull request has at least 2 changed file and your browser window is sufficiently wide.
During the beta, you can disable the tree completely via the feature preview dialog. When disabled, you will no longer have the option to hide or show the tree from the pull request page. If you change your mind, you can re-enable the tree in the feature preview dialog.
Most common issues
The full list of issues we're tracking is longer than this, but the following are the most commonly reported:
Tkeyboard shortcut not workingFeedback
Your feedback will help inform what's ultimately shipped in the GA release, so please let us know what you think below. We're excited to hear from you✨ 