Skip to content

Storybook: Remove experimental category in favor of a badge #70540

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

Merged

Conversation

yogeshbhutkar
Copy link
Contributor

What, Why, and How?

Closes #66805

This PR removes the multi-level distinction by category and introduces an experimental badge to mark the components as experimental similar to how it's currently done for WIP or Private components.

Testing Instructions

  1. Run storybook. ( npm run storybook:dev )
  2. Navigate to an experimental component (e.g. TreeGrid).
  3. Confirm the presence of an 🧪 Experimental badge.

Testing Instructions for Keyboard

Same

Screenshots

Before After
before after

@t-hamano t-hamano added [Type] Developer Documentation Documentation for developers [Package] Components /packages/components Storybook Storybook and its stories for components labels Jun 27, 2025
@yogeshbhutkar yogeshbhutkar marked this pull request as ready for review June 27, 2025 06:44
@yogeshbhutkar yogeshbhutkar requested a review from ajitbohra as a code owner June 27, 2025 06:44
Copy link

github-actions bot commented Jun 27, 2025

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: yogeshbhutkar <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>

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

@yogeshbhutkar

This comment was marked as duplicate.

@yogeshbhutkar yogeshbhutkar requested a review from a team August 8, 2025 04:01
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.

Looking good, just a few tweaks 🔧

* Prioritises `private` over `experimental`
* Removes `experimental` from permalinks
* Handles redirection to old `experimental` permalinks.
* Moves stranded selection components to Common subfolder
@yogeshbhutkar yogeshbhutkar force-pushed the enhance-66805/experimental-storybook-badge branch from b066464 to bfa85bd Compare August 11, 2025 11:01
@yogeshbhutkar yogeshbhutkar requested a review from mirka August 11, 2025 11:36
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.

Looks good, thank you!

@mirka mirka merged commit 4ad8b27 into WordPress:trunk Aug 11, 2025
69 checks passed
@github-actions github-actions bot added this to the Gutenberg 21.5 milestone Aug 11, 2025
@yogeshbhutkar yogeshbhutkar deleted the enhance-66805/experimental-storybook-badge branch August 12, 2025 04:59
@tyxla
Copy link
Member

tyxla commented Aug 12, 2025

Thanks @yogeshbhutkar 🙌

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] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Storybook: Remove "experimental" category in favor of a badge
4 participants