Configure default tab
See original GitHub issueIs your feature request related to a problem? Please describe. I’m always frustrated when I cannot make it as easy as possible for the user like when the user has to click something unnecessarily.
Describe the solution you’d like
It would be great, if the default tab is configurable. Currently the default tab is always canvas
.
Describe alternatives you’ve considered
Thanks to #7066 and #9095 we are able to hide the canvas
tab, but this is not an option, because I want to keep it. My users want to see the docs
tab by default and switch to another if they need to.
Are you able to assist bring the feature to reality? Yes I can, if you tell me some starting points to implement this.
Additional context
Even though the canvas
tab is hidden on my start page, the canvas tab is selected by default:
Written regarding the storybook version 6.0.12.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:32 (5 by maintainers)
As it turns out this is actually already possible. I’ve added a
.storybook/preview.js
config with the following content:I’m on version
6.0.13
. I’ve found the necessary hints here.Maybe I am wrong but is that the same as doing