Skip to content

Storybook: Make "introduction" top level#76671

Merged
mirka merged 1 commit intotrunkfrom
update/storybook-intro-top-level
Mar 19, 2026
Merged

Storybook: Make "introduction" top level#76671
mirka merged 1 commit intotrunkfrom
update/storybook-intro-top-level

Conversation

@jasmussen
Copy link
Copy Markdown
Contributor

What?

Followup/related to #76361.

Tiny PR to change the introduction.mdx file to not be inside a folder. Before:

Skærmbillede 2026-03-19 kl  10 28 47

After:

Skærmbillede 2026-03-19 kl  10 29 55

Why?

"Docs" has only introduction.mdx. If that's the only folder, it's just an extra click, and takes up another item of vertical space. The only reason to keep it would be to have additional files inside the docs folder, but conceptually they belong in named categories, e.g. foundations, components, etc.

Testing Instructions

npm run storybook:dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 19, 2026

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: jasmussen <joen@git.wordpress.org>
Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org>

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

@jasmussen jasmussen self-assigned this Mar 19, 2026
@jasmussen jasmussen added [Type] Enhancement A suggestion for improvement. Storybook Storybook and its stories for components labels Mar 19, 2026
Copy link
Copy Markdown
Contributor

@im3dabasia im3dabasia left a comment

Choose a reason for hiding this comment

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

LGTM ✅

@jasmussen jasmussen force-pushed the update/storybook-intro-top-level branch from 450c7ca to 72b226e Compare March 19, 2026 13:46
@jasmussen
Copy link
Copy Markdown
Contributor Author

Thank you for the review. The checks keep failing. This PR is tiny, and not urgent, but I'd appreciate a look from @WordPress/gutenberg-components

@mirka mirka merged commit e0fda0e into trunk Mar 19, 2026
44 of 47 checks passed
@mirka mirka deleted the update/storybook-intro-top-level branch March 19, 2026 15:00
@mirka
Copy link
Copy Markdown
Member

mirka commented Mar 19, 2026

Failures are unrelated, I'll just go ahead and merge 👍

@github-actions github-actions bot added this to the Gutenberg 22.9 milestone Mar 19, 2026
@ciampo
Copy link
Copy Markdown
Contributor

ciampo commented Mar 19, 2026

Will this PR change the URL at which the introduction docs are available? Should we add a redirect from the old URL to the new URL?

@mirka
Copy link
Copy Markdown
Member

mirka commented Mar 19, 2026

Should we add a redirect from the old URL to the new URL?

Yeah sure, I can add that (#76701).

adamsilverstein pushed a commit that referenced this pull request Mar 31, 2026
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org>
adamsilverstein pushed a commit that referenced this pull request Apr 7, 2026
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org>
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] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants