-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat(spinner): add spinner to action buttons #640
Conversation
b0624d3
to
9b46fb6
Compare
Anything else left todo @tthvo ? |
Oh just going through each one again to check if error handler is added or else it will be stuck in loading state :D Any other places to add spinner than above you want in mind too? |
39d4406
to
709719e
Compare
Ready for review now. Please let me know if any other places need adding. |
709719e
to
3cd1118
Compare
Haven't reviewed the code yet but manual test looks great. |
Also just a note on this: buttons now are a little wider. I think its the effect of adding loading props (maybe for smoother animations). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
3cd1118
to
f95f731
Compare
Fixes #597
The following action buttons are configured to show progress indicator:
React.useCallback
)Except for
ArchiveModal
, all modals will hide close button in loading state to avoid closing. This will be reverted after abort support is added (Related to #651).