-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Specific deep link options #1739
Comments
@vgpena I think there are a couple different aspects to this issue:
Disregarding the UI for a minute, I believe the functionality you're asking for already exists, but may not be easy to find. You can click on the "CMD" button in the upper left corner to see the keyboard shortcuts: Then you can toggle the confusingly-named "left" and "down" panels as needed (which will be made less confusing in #1692). This will also change the URL accordingly. By jumping through these hoops, I think you can get all the functionality you want. Can you confirm this? Back to the UI, there have also been attempts to add UI for setting these options (PR here: #981, demo here: https://usulpro.github.io/storybook-ui/) This can obviously use some design work, but I'm curious how close this all gets to satisfying your use case. Feedback welcome! |
My two cents to this:
|
Let’s make it a link (using |
@Hypnosphi What's this you speak of? Is there any documentation of RoutedLink |
It's an internal component, used in menu, for example. Basically, it's a native html link with changed behaviour on plain left click, so that instead of reloading the page it dispatches an action |
Is there any way to reset knobs from within the iframe? From within a decorator for example? |
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. We do try to do some housekeeping every once in a while so inactive issues will get closed after 90 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
My project team has been using Storybook to, among other things, share dev progress with designers and project managers. Being able to send each other URLs deep linked to stories has been really useful.
It would be great to expand this utility to create per-story buttons that copy specific URLs to the clipboard:
To riff off of #1680, having knobs in the URL is handy for calling attention to specific states, but a button for "current story with default knobs" would also be handy for checking the base state.
The text was updated successfully, but these errors were encountered: