Storybook tags, filter UI, and badges #30091
Replies: 1 comment 5 replies
-
Thank you for your work. I would like to have a regex exclude filter option for tags in the sidenav Tag dropdown menu, because we have internal tags that we don't want to show. Also, it would be great to have a tag like "test-only" or "internal" that displays stories in the sidenav only when they are checked (so that testers can toggle them on, but normal users don't in default. Other use cases: I have made a docs component that shows various tags above the docs title as chips, also some tag-chips above each story-title in the docs. It reads from the story/meta. Would be great if there was a storybook block or option in stories-block, maybe with the tags addon (great work, frog!). For the Controls/Argtypes tables, I enhance my Argtypes descriptions with various jsdoc tags and their info (filling the missing gap from compodoc.json) like deprecated, since (version XY), param. I display them in different colors and styles as chips to give my users more info about the argtype. Would be great if a) you could specify in preview which tags to include (like exclude internal, ignore (I know, this can be done via compodoc build options), include deprecated or version, and we would have these jsdoc info generated the same for all frameworks and b) set global styles to these tags like in the tags addon, maybe the same like create theme options. Wish you happy holidays! |
Beta Was this translation helpful? Give feedback.
-
In Storybook 8.4 we released Storybook tags with interactive filter UI, plus an addon for badges in the sidebar. (docs, addon).
Curious if you're finding tags useful, whether you have requests, and if you have use cases that you can share with the community!
Beta Was this translation helpful? Give feedback.
All reactions