-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support 'group' entries in sidebar? #20
Comments
@Fedduh the problem we have with this issue is that 'group' entries don't have a For component entries, we agreed with the Storybook core team to define their tags as the intersection of their contents' tags... which coincides with what you define in the For group entries like yours, I suspect the MDX pages would not have associated tags. So, the intersection of tags for all group entries would be empty. @shilman I'm curious if there's a good way to define metadata like tags on freeform MDX entries? If there is such a mechanism, I could try to extend the logic we used for |
@Sidnioulz it's probably this PR from a long time ago that I forgot about. Will try resurrecting it now storybookjs/storybook#26633 |
@Sidnioulz Resurrected here storybookjs/storybook#29655 and it should already be supported in the index |
@shilman thanks! When I get round to addressing this, I'll open a PR to extend the tags intersection logic to group entries then. |
I've opened the PR on the Storybook side. Once it's merged, I'll be able to make the necessary changes:
|
Storybook PR merged! I'll work on this once Storybook 8.5 is officially released :) |
I also have for stories that include the meta with documentation (+ stories) but also include some manual .mdx files with code examples. I noticed that for these folders, the tags also don't show up.
(but maybe that's an odd setup I use..)
(for these 'groups' the icon is also a folder, instead of the component square icon)
Originally posted by @Fedduh in #15 (comment)
The text was updated successfully, but these errors were encountered: