Skip to content

Conversation

Rishit30G
Copy link
Contributor

What?

Closes: #69878

Why?

This PR is necessary to removed the repeated elements in the popover story

How?

This PR introduces constants like DEFAULT_POPOVER_CONTENT_STYLE, FULLSCREEN_CONTAINER_STYLE, DEFAULT_POPOVER_CONTENT and COMPACT_POPOVER_CONTENT to avoid the repetition

Testing Instructions

N/A

Screenshots or screencast

N/A

@Rishit30G Rishit30G requested a review from ajitbohra as a code owner April 10, 2025 11:13
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: Rishit30G <rishit30g@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@t-hamano t-hamano added [Type] Code Quality Issues or PRs that relate to code quality [Package] Components /packages/components Storybook Storybook and its stories for components labels Apr 10, 2025
@Rishit30G Rishit30G changed the title Refactor popover stories Storybook: Refactor popover stories Apr 11, 2025
@Rishit30G
Copy link
Contributor Author

I just wanted to check if everything looks good or if there are any improvements we should consider 🙇🏻
cc: @ciampo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components Storybook Storybook and its stories for components [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Storybook: Refactor Popover Stories
2 participants