Loading indicator on buttons #559
Labels
Backlog Refinement
Tickets that require further refinement
Design Backlog
Outstanding Design issues for completed tickets
GOOSE
User Story
A User Story issue type
Description:
Create a Loading indicator when clicking on a button that takes more than 1 second to respond
There is currently no indicator when clicking the following:
"Start" button on the reporting dashboard (ticket #441)
Approving / declining user access requests (bug 2784)
Selecting an operator
The action can take a few seconds, which could lead to a user clicking multiple times and causing duplicate entries. For example, multiple clicks of 'approve' led to the same contact being added multiple times
The submitButton component that is used in Registration file uploads includes a spinner, so loading spinner appears on "submit" button automatically. We can reuse this for the other buttons: "start" (relates to ticket #441 )"approve/decline" "continue" etc.
Acceptance Criteria:
Given I clicked on any button
If the page takes more than 1 second to respond,
Show a loading spinner on the button
And I cannot click the button again while it is showing the loading spinner
Development Checklist:
Definition of Ready (Note: If any of these points are not applicable, mark N/A)
Definition of Done (Note: If any of these points are not applicable, mark N/A)
Blocked By/Blocking
Notes:
The text was updated successfully, but these errors were encountered: