-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/_preview/1861 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: -2.54 kB (0%) Total Size: 810 kB
ℹ️ View Unchanged
|
89e41c5
to
107cfb0
Compare
739c630
to
55a8ac7
Compare
965aac8
to
dd10a8f
Compare
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.
The changes look good to me!
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.
It looks perfect and I love the new tests. I'm actually not sure if we're meant to keep displaying the filter counts on desktop, but @panchovm can answer that on his arrival. LGTM!
I'm not sure either. I looked at the Openverse Design library when implementing these, but apparently some components there use old styles. Removing the counts will be easier than adding them in, so :) |
Fixes
Fixes #1866 by @obulat
Description
This PR uses the updated styles for
action-menu
buttons from #1863. TheVFilterButton
component is simplified because there are only 2 variants now, and it's only used above thelg
breakpoint.Testing Instructions
Check the Storybook:
https://wordpress.github.io/openverse-frontend/_preview/1861/?path=/docs/components-vheader-vfilterbutton--default-story
The old filter button (with the
new_header
flag turned on) should stay the same, and the new filter button should be updated.Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin