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

Addon-docs: DocsPage story sorting broken in V7 #19163

Closed
shilman opened this issue Sep 10, 2022 · 3 comments
Closed

Addon-docs: DocsPage story sorting broken in V7 #19163

shilman opened this issue Sep 10, 2022 · 3 comments

Comments

@shilman
Copy link
Member

shilman commented Sep 10, 2022

Stories are sorted alphabetically on DocsPage, even when they are sorted correctly in the sidebar.

See reproduction in the addon-docs generic stories in which Another is sorted before Basic:

https://github.com/storybookjs/storybook/pull/19162/files#diff-c30e0cfbc01713e2dac4527bedfef88930352aa03330dd0771139689f2c1010b

@shilman
Copy link
Member Author

shilman commented Nov 21, 2022

Jeepers creepers!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-alpha.52 containing PR #19907 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb upgrade --prerelease

Closing this issue. Please re-open if you think there's still more to do.

@mogamogua
Copy link

mogamogua commented Aug 21, 2023

I wonder if this fix has been released through regular version, or when will be released.
I'm using storybook 7.3.1, but storybook sidebar's category, group's ordering is not sorted by the sortStory.order :/

@Squixx
Copy link

Squixx commented Aug 21, 2023

I wonder if this fix has been released through regular version, or when will be released. I'm using storybook 7.3.1, but storybook sidebar's category, group's ordering is not sorted by the sortStory.order :/

Wondering the same thing, both the sorting method and order in preview.ts seem to be ignored

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

No branches or pull requests

3 participants