UX: When saving a comment edit, there is no indication of progress or error #8210
Closed
1 of 3 tasks
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
topic/ui-interaction
Change the process how users use Gitea instead of the visual appearance
type/enhancement
An improvement of existing functionality
[x]
): anyDescription
Start editing an issue comment.
When you hit save, the edit interface is closed and the only feedback you have of your edit being saved is the comment text changing (when the fetch that sends the edit succeeds).
This is usually fine, but when the network conditions are a bit slower, one gets frustrated not seeing their edit on the screen, and not seeing any sign of progress. It's easier to see when the edit is big or by manipulating the network latency in Chrome/Chromium's DevTools.
When I noticed this I also checked what happens when the request fails by enabling "Offline mode" in Chrome/Chromium's DevTools before clicking save. It just fails silently.
Fix suggestion: It should show an overlay on top of the editing interface to indicate that it is being saved and the user should wait, and only close the interface after it's finished saving. If an error occurs, don't close the edit interface and tell the user it failed.
The text was updated successfully, but these errors were encountered: