Closed
Description
Description
All Gitea versions. Click buttons quickly in Issue form will submit repeated requests.
- https://try.gitea.io/wxiaoguang/test/issues/1#issuecomment-91921
- And there are so many related issues ...
About UI/UX: because there is no UI feedback to users and the buttons are still clickable, when there is a laggy network, user may click buttons multiple times, then there will be many duplicated comments.
Related PRs (but it still needs more work)
- Prevent double click new issue/pull/comment button #16157 , it prevents the
create issue/pr
andcreate comment
button from double-clicked. - Add loading status to submit buttons #10459 , partially replaced by Prevent double click new issue/pull/comment button #16157
Remaining works:
- check and prevent repeated requests for other forms
- prevent repeated requests for AJAX requests
Screenshots
NOTICE: This issue is not completely fixed. Some buttons have been fixed by #16157, but this issue is out-dated, so close it.