-
Notifications
You must be signed in to change notification settings - Fork 63
Add loading animations to the 'See Results' button #1887
Conversation
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/_preview/1887 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
Size Change: +869 B (0%) Total Size: 816 kB
ℹ️ View Unchanged
|
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.
I really love the animation and your solution for the (no) change in button width!
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! In the future, I wonder if we should throttle the filter selection so that:
- At least one animation cycle of the button can complete
- If the user is clicking multiple filters rapidly in X seconds, only a single request will be made
Fixes
Fixes #1808 by @obulat, building on top of past work by @obulat
Description
This PR adds animation to the 'See Results' button. There are two kinds of animations, based on the reduced animation preference.
Testing Instructions
Screenshots
Screen.Recording.2022-10-06.at.7.27.26.PM.mov
Screen.Recording.2022-10-06.at.7.34.29.PM.mov
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin