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

Core: Fix default sorting of docs-only stories #9504

Merged
merged 3 commits into from Jan 17, 2020
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented Jan 17, 2020

Issue: #9481

What I did

Fix sort logic: it was using _legacydata which doesn't contain docs-only stories for some legacy-ish reason.

How to test

See updated unit tests! 🥇

Also E2E test in official-storybook if you disable some stories, etc. Doesn't really work as is, because storiesOf stories always get loaded before CSF/MDX.

@shilman shilman requested a review from usulpro as a code owner January 17, 2020 04:52
@vercel
Copy link

vercel bot commented Jan 17, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/storybook/monorepo/74onvjikp
✅ Preview: https://monorepo-git-9481-fix-docs-only-sort.storybook.now.sh

@shilman shilman requested a review from tmeasday January 17, 2020 04:52
@shilman shilman added this to the 5.3.x milestone Jan 17, 2020
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

👏 much better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants