Skip to content

Conversation

bytedream
Copy link
Contributor

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

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 15, 2025
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/frontend labels Aug 15, 2025
@lunny lunny requested a review from kerwin612 August 15, 2025 18:27
@lunny
Copy link
Member

lunny commented Aug 15, 2025

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.

@bytedream
Copy link
Contributor Author

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.

Screenshot of the GitHub delete page image image

The fork page looks similar on GitHub (although your right, this also looks a bit strange)

Screenshot of the GitHub fork page image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/frontend modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants