Skip to content
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

MenuItem: Add Storybook stories #53613

Merged
merged 3 commits into from
Aug 24, 2023
Merged

Conversation

bangank36
Copy link
Contributor

@bangank36 bangank36 commented Aug 14, 2023

What?

Add missing story for MenuItem Component

Why?

Missing stories for components has been discussed on #36128 (comment), MenuItem has been migrated to Typescript already and its time to add missing stories

How?

Add new /stories folder on /menu-item

Testing Instructions

  • Checkout this branch
  • Run npm run storybook:dev
  • Visit the menu-item stories at ?path=/docs/components-menuitem--docs

Testing Instructions for Keyboard

Screenshots or screencast

image image

@bangank36 bangank36 marked this pull request as ready for review August 14, 2023 08:46
@bangank36 bangank36 requested a review from ajitbohra as a code owner August 14, 2023 08:46
@bangank36 bangank36 force-pushed the storybook/menu-item branch from 4819782 to e28c505 Compare August 14, 2023 08:48
@mirka mirka self-requested a review August 15, 2023 19:05
@mirka mirka added [Type] Developer Documentation Documentation for developers Storybook Storybook and its stories for components labels Aug 15, 2023
Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, I appreciate the clean and thoughtful code here!

packages/components/src/menu-item/index.tsx Outdated Show resolved Hide resolved
packages/components/src/menu-item/stories/index.story.tsx Outdated Show resolved Hide resolved
packages/components/src/menu-item/stories/index.story.tsx Outdated Show resolved Hide resolved
packages/components/src/menu-item/stories/index.story.tsx Outdated Show resolved Hide resolved
packages/components/src/menu-item/stories/index.story.tsx Outdated Show resolved Hide resolved
bangank36 and others added 2 commits August 21, 2023 10:22
Add more stories for menu-item

Update MenuItem import index.story.tsx

Update packages/components/src/menu-item/index.tsx

Co-authored-by: Lena Morita <[email protected]>
@bangank36 bangank36 force-pushed the storybook/menu-item branch from 10a6e61 to 7edfb4d Compare August 21, 2023 03:24
@bangank36 bangank36 requested a review from mirka August 21, 2023 03:30
Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just had one small nit on the punctuation, but otherwise we're good to go 🚀

@bangank36 bangank36 requested a review from mirka August 24, 2023 22:18
Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@mirka mirka enabled auto-merge (squash) August 24, 2023 22:51
@mirka mirka merged commit 1bc4205 into WordPress:trunk Aug 24, 2023
@github-actions github-actions bot added this to the Gutenberg 16.6 milestone Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storybook Storybook and its stories for components [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants