Hide deleted file contents in diff #18811
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.
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:
The text was updated successfully, but these errors were encountered: