-
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/1860 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. |
3c940e3
to
b09c48b
Compare
Size Change: -833 B (0%) Total Size: 817 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.
The snapshots, test code, and button look great. Nice work.
22b7ed7
to
7e4948c
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.
Looks good to me. Works well based on the stories and snapshots.
import useSearchType from '~/composables/use-search-type' | ||
|
||
<Meta | ||
title="Components/VContentSwitcher/VSearchTypeButton" |
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.
Your PR comment had me searching in the wrong place (VHeader/VSearchTypeButton) for the story!
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.
Sorry about that! I think fixing the directory structure would be nice.
7e4948c
to
2830c8c
Compare
Fixes
Fixes #1859 by @obulat
Description
This PR creates an updated
VSearchTypeButton
that is only used on the desktop search header.Testing Instructions
Run
pnpm storybook
. CheckVHeader
/VSearchTypeButton
story.There are also storybook Playwright tests.
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin