-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree view in Pull Requests, similar to GitLab/GitHub/Azure DevOps #18192
Comments
wasn't there a plugin out in the wild for github that also support gitea?? |
Does Gite has a tree view? I think the author means the left tree for file list, it's more friendly and easier to use. |
We have a file list on the top of the files view. |
Hey I'm not sure I understand what you mean (or what your screenshot is showing). There just seems to be plain text with the stats, and each box below has the name of the file. Similar to using VS Code, opening a file from the File Explorer at the left side, and the contents appear on the right side. |
expectation plus this need |
Ah -- it's appearing to me now!! Here's an example for this PR: https://github.com/go-gitea/gitea/pull/19007/files |
As a workaround, you can use some chrome extensions, i.e. git-master |
I have a suggestion for the icons: But the base implementation does not depend on this suggestion. |
I think git-master is always showing all files and not only the changed files of a pull request, so it does not help. |
Hi, is any updates about that? |
+1 |
I've tried to get a first file list on the left of the tree view. fomantic will add support for a tree (hopefully) with the next 2.9 release - so for now this is (at least for me) a good step to have a file list on the left to easy navigate in a pr. I've created a WIP PR #21012 with my changes. |
Please see the PR for an updated screenshot with a first non collapsible tree view of files. |
Now the tree has collapsible directories and a github like show / hide mechanism. Please see updated screenshots in PR. |
This PR adds a filetree to the left side of the files/diff view. Initially the filetree will not be shown and may be shown via a new "Show file tree" button. Showing and hiding is using the same icon as github. Folders are collapsible. On small devices (max-width 991 PX) the file tree will be hidden. Close #18192 Co-authored-by: wxiaoguang <[email protected]>
Feature Description
The current way Gitea shows the file changes on a Pull Request (whether in Preview/Simulation or when the PR is created), to me feels disorganized and hard to review, as it shows ALL files in the same page.
For big PRs, this gets really messy/hard.
I actually feel very comfortable reviewing PRs using Azure DevOps, as they show a tree of the files changed (organized by affected folders), so that we can review one by one, by clicking on the file we want to review, and it will show the whole file on the right side, with the changes.
https://docs.microsoft.com/en-us/azure/devops/repos/git/review-pull-requests?view=azure-devops&tabs=browser
Screenshots
--
The text was updated successfully, but these errors were encountered: