-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add "busy button" and Publish Flow. #3682
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3682 +/- ##
==========================================
+ Coverage 37.3% 37.46% +0.15%
==========================================
Files 277 277
Lines 6690 6711 +21
Branches 1214 1221 +7
==========================================
+ Hits 2496 2514 +18
- Misses 3536 3539 +3
Partials 658 658
Continue to review full report at Codecov.
|
Pushed ec4dc7c which implements the cc @youknowriad |
Changing the label of the button while saving introduces a weird flickering (the button size changes and reverts quickly) while auto-saving. Do you we could avoid changing the label and just add an |
This is a good point, but it may be worth it. Two options I can think of:
What do you think? |
Fixing the width would have been great but it's not possible with translations. I can live with it, but I think we should avoid the label changing at least for "auto-saves" because it's not an "explicit" click and it's a duplicated information with the Saving indicator. |
Agreed, we have the save status indicator for the autosave, the button itself should probably be only for publishing, updating, and scheduling, as well as "working" versions of those. Riad in a little noodling on this branch I can't get the CSS |
I think it's because the width property do not change, it's the content that changes |
I think you're probably right. I tried some tricks, but couldn't get it to work. |
What is that "gradient" on your button ? |
It's a transition that signals something is happening and the button is not just disabled. |
See #3496.
cc @jasmussen @karmatosed