Skip to content

Hide deleted file contents in diff #18811

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

Open
jpraet opened this issue Feb 18, 2022 · 0 comments
Open

Hide deleted file contents in diff #18811

jpraet opened this issue Feb 18, 2022 · 0 comments
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@jpraet
Copy link
Member

jpraet commented Feb 18, 2022

Feature Description

I think the contents of deleted files should not be displayed in a diff.

Either the file could be collapsed by default (like currently done for generated files), or it could be lazily loaded with a "Show File" button, like currently done for files that are too large. Not sure which of these options fits best.

Screenshots

On GitHub this is done as follows:

image

@lunny lunny added type/proposal The new feature has not been accepted yet but needs to be discussed first. topic/ui Change the appearance of the Gitea UI labels Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants