-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Fix: WooCommerce Blocks Storybook bugs #58053
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
Fix: WooCommerce Blocks Storybook bugs #58053
Conversation
Testing GuidelinesHi , Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed. Reminder: PR reviewers are required to document testing performed. This includes:
|
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.
Thanks a lot @amitraj2203 looking great so far except a few snags, please let me know if any of my comments are unclear.
By the way I also noticed the With error
variation of the ValidatedTextInput
does not show the value after typing, would you be willing to tackle that bug in this PR too? 🙏🏼
plugins/woocommerce/client/blocks/packages/components/radio-control-accordion/style.scss
Outdated
Show resolved
Hide resolved
...commerce/client/blocks/assets/js/base/components/quantity-selector/stories/index.stories.tsx
Outdated
Show resolved
Hide resolved
plugins/woocommerce/client/blocks/packages/components/chip/stories/removable-chip.stories.tsx
Outdated
Show resolved
Hide resolved
…torybook-component-interactions-and-styling
I see, the issue was with all the variations present in the Docs page. |
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.
Thanks for looking at those things I mentioned! A couple more comments, but looks almost ready to merge 👍🏼
plugins/woocommerce/client/blocks/packages/components/title/style.scss
Outdated
Show resolved
Hide resolved
…torybook-component-interactions-and-styling
…lAccordion component
… be on by default
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.
@amitraj2203 this looks good now, really impressive work. I've just tested the titles and they are working nicely.
Thanks again for your contribution, it's greatly appreciated!
Submission Review Guidelines:
Changes proposed in this Pull Request:
This PR addresses several UI component issues in the WooCommerce Blocks Storybook implementation. The changes fix various functionality and styling problems to improve the developer experience when using the Storybook components.
Specifically, the PR:
Closes #51785< 8000 /a>
Screenshots or screen recordings:
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
npm run storybook
and go tohttp://localhost:6006/
RadioControlAccordion
displays with proper paddingRemovableChip
can be removed by clicking the 'x'TextInput
no longer shows errors by defaultTitle
component changes font size when changing heading levelsCountryInput
displays with the correctSelect a country:
labelQuantitySelector
is editable by default and new variations work correctlyValidatedTextInput
error state displays correctly and theWith error
variation works nowChangelog entry
Changelog Entry Details
Significance
Type
Message
Changelog Entry Comment
Comment