[Feature Request] When creating PRs, reload diffs in background #16159
Labels
performance/speed
performance issues with slow downs
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Description
When creating a new pull request using the UI, Gitea will reload the page every time when the selected branch(es) are changed through the dropdowns to display the diff (and relevant commits) between those 2 branches. That can take time, especially for large diffs. During that time, seemingly nothing happens.
It would probably be better if Gitea would reload the diff in background and display a simple loading animation to the user until the diff is ready.
Screenshots
On the screengrab it doesn´t look so bad, but for larger diffs that can take several minutes. The screengrab is from try.gitea.io ( https://try.gitea.io/nils91/test ).
The text was updated successfully, but these errors were encountered: