-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Core: Add renderLabel
to customize sidebar tree labels
#13121
Conversation
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
cc @domyen @ghengeveld let's see what we can do to get this over the line |
Yeah. It would be great to add prefix for items. |
I comment here because there is also interest in being able to customise storybook sidebar, like adding a prefix before the items so we can add there things like component status in the sidebar. |
@wKich, that can be an interesting feature. I'd like to get this one merged before bringing more changes |
@shilman merged next into this one. |
@ghengeveld any update ? |
Hey, I would like to propose the following:
This would allow much more flexibility in terms of how the label is rendered in the sidebar. |
Issue: Lack of capability to add elements to
(Updated after @ghengeveld work)
sidebar subheadings (most important one in my opinion)
sidebar items
folder
component
story
This PR aims as a proposal for this and basis of discussions
Should we keep double icons when prefix is set ?
Should it be called prefix ?