You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have discovered that Gitea lacks debouncing functionality for the approve button, which can result in repeated approvals if users click quickly before the website responds. Additionally, this can lead to multiple webhook calls being triggered.
To solve this issue, I suggest implementing a debounce mechanism in Gitea. Debouncing would effectively merge and handle multiple rapid approve actions performed by a user during a single interaction.
Here is a screenshot illustrating the problem:
I kindly request the Gitea development team to consider adding this feature to enhance the user experience and prevent unintended repeated approvals.
Thank you for your attention to this matter, and I appreciate your efforts in continually improving Gitea.
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Self-hosted in docker container
Database
None
The text was updated successfully, but these errors were encountered:
I think to improve this, we might first change the form submit to post by fetch in js, and then do debounce or add flag like isFetching, and if the flag is true, do not post repeatedly.
Description
I have discovered that Gitea lacks debouncing functionality for the approve button, which can result in repeated approvals if users click quickly before the website responds. Additionally, this can lead to multiple webhook calls being triggered.
To solve this issue, I suggest implementing a debounce mechanism in Gitea. Debouncing would effectively merge and handle multiple rapid approve actions performed by a user during a single interaction.
Here is a screenshot illustrating the problem:
I kindly request the Gitea development team to consider adding this feature to enhance the user experience and prevent unintended repeated approvals.
Thank you for your attention to this matter, and I appreciate your efforts in continually improving Gitea.
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Self-hosted in docker container
Database
None
The text was updated successfully, but these errors were encountered: