Closed MMFane closed 1 year ago
@dexterca, this has caused the stories for DescriptionList as the parent to ungroup. I think this makes more semantic sense, but what's your opinion? I could see it burying the other story folders for our users as well, which would be a bummer.
@MMFane I favor the way you have things setup here. True, some items might get buried but there are accordions to help with that. Another added benefit is that users can more quickly jump to see specific examples in the side nav because you've removed one level of nesting in the side nav.
@dexterca, Second question: do you think the stories for the sub-components are helpful or could we do without them? I noticed the -Divider, -Details, and -Terms stories look very similar, and I'm not sure if the -Divider one is illustrating the divider at all. Since you just made this component, I'm curious to learn your thinking behind making these stories.
@MMFane If I'm being honest, I didn't put much thought into this. I was just following the convention we had for <List
. Stripping out the stories works for me because I'm not sure how much value they actually provide.
@dexterca, Second question: do you think the stories for the sub-components are helpful or could we do without them? I noticed the -Divider, -Details, and -Terms stories look very similar, and I'm not sure if the -Divider one is illustrating the divider at all. Since you just made this component, I'm curious to learn your thinking behind making these stories.
@MMFane If I'm being honest, I didn't put much thought into this. I was just following the convention we had for
<List
. Stripping out the stories works for me because I'm not sure how much value they actually provide.
@dexterca I'm going to strip them out then - my thinking is we put any subcomponent stories we need under the parent and skipping boilerplate subcomponent ones will save us story maintenance time and effort
:tada: This PR is included in version 5.1.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
What Was Changed
ComponentStory
andComponentMeta
withStoryObj
andMeta
respectivelyQuestions for the Team
Screenshots
There should be no visual changes to these components