Skip to content

[Storybook] Add stories for more components (letters R-S) - Part 4#7733

Merged
cee-chen merged 8 commits intoelastic:mainfrom
mgadewoll:storybook/7482-stories-r-s-part-4
May 8, 2024
Merged

[Storybook] Add stories for more components (letters R-S) - Part 4#7733
cee-chen merged 8 commits intoelastic:mainfrom
mgadewoll:storybook/7482-stories-r-s-part-4

Conversation

@mgadewoll
Copy link
Copy Markdown
Contributor

@mgadewoll mgadewoll commented May 3, 2024

@mgadewoll mgadewoll added documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) labels May 3, 2024
@mgadewoll mgadewoll marked this pull request as ready for review May 3, 2024 16:54
@mgadewoll mgadewoll requested a review from a team as a code owner May 3, 2024 16:54
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[just me thinking out loud] I sometimes wonder how much value consumers get from us exporting subcomponents like this, vs just the higher level components 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It can have value to understand what's available, how it works etc. Or even to maybe reuse some components in other contexts even if unexpected? 🤔

Copy link
Copy Markdown
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

Minor nav bar organization

@cee-chen cee-chen force-pushed the storybook/7482-stories-r-s-part-4 branch from db10dd3 to 6b8eb75 Compare May 8, 2024 18:14
Copy link
Copy Markdown
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

Pushed up a minor fix for undefined step status being valid for EuiStepNumber and EuiStep (but not EuiStepHorizontal 🤷), other than that this looks great!

@cee-chen cee-chen enabled auto-merge (squash) May 8, 2024 18:16
@kibanamachine
Copy link
Copy Markdown

Preview staging links for this PR:

@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

History

@cee-chen cee-chen merged commit 20e71da into elastic:main May 8, 2024

const meta: Meta<EuiStepNumberProps> = {
title: 'Navigation/EuiSteps/EuiStepNumber',
title: 'Navigation/EuiSteps/Subcomponents/EuiStepNumber',
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hmm, if I remember correctly, we had a discussion some time ago about nesting conventions and agreed that we nest subcomponents under the components based on component name and that we wouldn't add other folders as that might be confusing? (conversation)

So the idea would be that EuiStepNumber is a subcomponent of EuiSteps (or even EuiStep) so it's nested under those.

Next to other components the naming Subcomponents now would mean there is a component called Subcomponents if we go by how we organized components so far 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New docs] Create stories for components starting with the letters R-S

4 participants