Preview: Don't hide the story while preparing #16850
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: #16847, #16798
What I did
Removed the code to hide the story while not "showing" (see this comment).
Note the original code:
Did not apply to anything, so I didn't put it back. There is
.sb-main-padded
, etc for the different layouts, but there is nosb-main-x
class for when you have no layout (the default).How to test
sb-show-main
, addsb-show-preparing-story
orsb-show-preparing-docs
to thebody
. Check the story is not visible.examples/vue-kitchen-sink
, visit http://localhost:9009/?path=/docs/addon-actions--action-only (for [Storybook 6.4] [Vue] [addon-docs] Stories are hidden in docs tab #16798)