Disable button when loading #4

Open
opened 2022-11-04 23:36:56 +01:00 by karma · 0 comments
Owner

When the user is logging in or when he is submitting his email to reset his password, block the button during the fetching to the backend to avoid him spamming the button.

Note

  • On the login page
    • In case of successful login, the user will be redirected to the transactions page, so the button doesn't need to be 'explicitally re-enabled', since he won't be on the login page anyomre;
    • in case of failed login, the button needs to be re-enabled after the alert so that they can try again.
  • On the Forgot Password page, the button should clicked on once and disabled forever, since the link has been sent, thus the user should go on another page.
When the user is logging in or when he is submitting his email to reset his password, block the button during the fetching to the backend to avoid him spamming the button. ### Note - On the login page - In case of successful login, the user will be redirected to the transactions page, so the button doesn't need to be 'explicitally re-enabled', since he won't be on the login page anyomre; - in case of failed login, the button needs to be re-enabled after the `alert` so that they can try again. - On the Forgot Password page, the button should clicked on once and disabled forever, since the link has been sent, thus the user should go on another page.
karma added the
Priority 3
label 2022-11-04 23:36:56 +01:00
karma added this to the Project (Mario?) project 2022-11-04 23:36:56 +01:00
karma added
Priority 2
and removed
Priority 3
labels 2022-11-04 23:44:59 +01:00
karma added this to the Milestone 10.11.2022 milestone 2022-11-04 23:47:47 +01:00
Sign in to join this conversation.
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: karma/zucchetti-sa5#4
No description provided.