Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC-81: Disable confirmation buttons whilst operation is already in progress #501

Merged
merged 7 commits into from
Oct 10, 2023

Conversation

finlay-jisc
Copy link
Collaborator

@finlay-jisc finlay-jisc commented Oct 3, 2023

The purpose of this PR was to prevent users from resubmitting a modal action while the backend request was pending, by indicating that it is in progress and disabling the modal buttons.

I changed the Modal component we use, but not the ConfirmationModal context, because that closes as soon as an option is selected and already displays a loading bar on the page if applicable.

Also made a small adjustment to an e2e test to make it run a bit more reliably.


Acceptance Criteria:

As per OC-81


Checklist:

  • Local manual testing conducted
  • Automated tests added
  • Documentation updated

Tests:

UI:
Screenshot 2023-10-02 140536

E2E:
Screenshot 2023-10-02 140455

@finlay-jisc finlay-jisc marked this pull request as ready for review October 3, 2023 08:14
@finlay-jisc finlay-jisc requested a review from a team as a code owner October 3, 2023 08:14
@finlay-jisc finlay-jisc removed work-in-progress do not merge Not ready for merge labels Oct 4, 2023
@finlay-jisc finlay-jisc merged commit e59cd05 into main Oct 10, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants