Skip to content
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

set Storybook default viewmode to "Docs" #88

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

txwkx
Copy link
Contributor

@txwkx txwkx commented Dec 8, 2021

Description

Set the Docs tab as a default view mode for stories in Storybook.

image

📝 Additional Information

⚠️ You might notice that the initial render of the Storybook has the Canvas tab open and only after clicking on a different story it would start defaulting to Docs. I've checked with my other Storybook projects that use this addon - same behaviour.

Suboptimal, but quite minor tbf

@txwkx txwkx added the enhancement New feature or request label Dec 8, 2021
@txwkx txwkx self-assigned this Dec 8, 2021
Copy link
Contributor

@etr2460 etr2460 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. a bit disappointing this doesn't work in chromatic, but it's strictly an improvement, so lets merge

@etr2460 etr2460 merged commit b6189cd into main Dec 9, 2021
@etr2460
Copy link
Contributor

etr2460 commented Dec 9, 2021

@allcontributors please add @txwkx for code

@allcontributors
Copy link
Contributor

@etr2460

I've put up a pull request to add @txwkx! 🎉

@txwkx txwkx deleted the feat/change-default-story-viewmode branch December 10, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants