Repository navigation
[Storybook] Add explicit sidebar structure - #7559
Merged
mgadewoll merged 15 commits intoMar 12, 2024
Merged
Conversation
mgadewoll
marked this pull request as ready for review
March 7, 2024 16:26
cee-chen
reviewed
Mar 8, 2024
cee-chen
reviewed
Mar 8, 2024
cee-chen
left a comment
Contributor
There was a problem hiding this comment.
I have a couple small re-categorizations and a question about nesting subcomponents, but that one is totally optional/not a blocker!
mgadewoll
force-pushed
the
storybook/7552-sidebar-structure
branch
from
March 11, 2024 17:36
02aa145 to
149164d
Compare
cee-chen
reviewed
Mar 11, 2024
cee-chen
reviewed
Mar 11, 2024
cee-chen
reviewed
Mar 11, 2024
cee-chen
reviewed
Mar 11, 2024
cee-chen
reviewed
Mar 11, 2024
cee-chen
reviewed
Mar 11, 2024
- add group EuiColorPalettePicker - add group EuiResizableContainer - move EuiEmptyPrompt to correct group Display - move EuiHideFor to Utilities
mgadewoll
force-pushed
the
storybook/7552-sidebar-structure
branch
from
March 12, 2024 08:53
149164d to
3671200
Compare
cee-chen
approved these changes
Mar 12, 2024
cee-chen
left a comment
Contributor
There was a problem hiding this comment.
🎉 🎉 🎉 So happy for this PR, thanks Lene!! Your knowledge of Storybook is amazing!
Contributor
|
Preview staging links for this PR: |
Collaborator
💚 Build Succeeded
History
|
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
closes #7552
This PR enables ordered categories in the Storybook sidebar and updates existing story
titles to include category names to add an explicit structure in the storybook sidebar.These categories match the existing ones in the current EUI documentation page. The introduced structure is kept flat for simplicity, meaning component stories are directly added under a category, there is currently no sub-nesting.
Example structure:
QA