Skip to content

Click buttons quickly in some forms will submit repeated/duplicated requests #17111

Closed
@wxiaoguang

Description

@wxiaoguang

Description

All Gitea versions. Click buttons quickly in Issue form will submit repeated requests.

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)

Remaining works:

  • check and prevent repeated requests for other forms
  • prevent repeated requests for AJAX requests

Screenshots

image

NOTICE: This issue is not completely fixed. Some buttons have been fixed by #16157, but this issue is out-dated, so close it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions