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

[5.x] Add submitting state for confirmation modal to better visualise a running action #10699

Merged
merged 16 commits into from
Sep 12, 2024

Conversation

morhi
Copy link
Contributor

@morhi morhi commented Aug 26, 2024

I noticed that when confirming an action that is running for a few seconds it is hard to determine if something is actually happening. This made me submitting the form twice and actually trigger an error, because the action could not be run a second time.

This PR adds a nice (hopefully nice enough) loader to visualise that there is an action running in the background.

Screen.Recording.2024-08-26.at.14.58.29.mov

Also fixes in issue with the "Create Folder" action, which submitted the form twice when pressing enter on the submit button.

@morhi morhi changed the title Add submitting state for confirmation modal to better visualise a running action [5.x] Add submitting state for confirmation modal to better visualise a running action Aug 26, 2024
vite-svg-loader.js Outdated Show resolved Hide resolved
@morhi morhi marked this pull request as ready for review August 26, 2024 13:00
@jasonvarga jasonvarga merged commit 975470a into statamic:5.x Sep 12, 2024
15 checks passed
@morhi
Copy link
Contributor Author

morhi commented Sep 13, 2024

Thanks @jasonvarga for polishing my PR <3

@jasonvarga
Copy link
Member

No problem! 🇵🇱

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.

3 participants