Skip to content

Implement Debouncing for Approve Button Clicks in Gitea Pull Requests #25096

Closed
@LKI

Description

@LKI

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:

image

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

Metadata

Metadata

Assignees

Labels

topic/ui-interactionChange the process how users use Gitea instead of the visual appearance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions