-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Add file tree to editor #35284
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
Add file tree to editor #35284
Conversation
# Conflicts: # templates/repo/editor/edit.tmpl # web_src/js/components/ViewFileTree.vue
Before adding the file tree, the commit box should be positioned in the top-right corner, similar to GitHub’s layout. The second and third pages looks strange. I think the UI needs more discussion.
The delete page indeed looks a bit strange/empty. GitHub shows the delete diff, but I initially discarded the idea of implementing this as the user would have to scroll down to reach the commit box. However if the commit box is placed in the top-right this wouldn't be a problem anymore.
The fork page looks similar on GitHub (although your right, this also looks a bit strange)
Adds the file tree to the editor, as well as on the delete and fork page.
Editor
Screenshot 2025年08月15日 at 09-56-19 admin_test - test - Gitea Git with a cup of tea
Delete
Screenshot 2025年08月15日 at 09-56-30 admin_test - test - Gitea Git with a cup of tea
Edit/delete on a foreign repo
Screenshot 2025年08月15日 at 09-55-26 admin_test - test - Gitea Git with a cup of tea