-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add status "badge" in sidebar #4
Comments
Hey that would be neat! I don't know if I can get sidebar access from the storybook addon API, but I'll give it a shot |
I don't think this is possible in Storybook v5. If you can see a way of doing it, or anyone who is editing the sidebar content using addons, then let me know. Leaving this open in case somebody figures it out. 🙏 |
Coming back to this issue looking for a similar thing. As of Storybook 6.2.0 (which is still at a release candidate phase 🙈 ), it will be possible to use a configuration The gist would be:
To dig deeper:
|
Status badges with |
It would be awesome if this addon added an appropriately coloured dot beside the story name in the sidebar, and potentially some treatment to the parent so you can see the status at a glance for all stories/components.
Could potentially only identify beta or deprecated ones to reduce noise
The text was updated successfully, but these errors were encountered: