Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Order of items on Storybook sidebar menu #430

Closed
szilvihorvath opened this issue Mar 13, 2023 · 1 comment
Closed

Order of items on Storybook sidebar menu #430

szilvihorvath opened this issue Mar 13, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@szilvihorvath
Copy link
Collaborator

szilvihorvath commented Mar 13, 2023

Change the order of items in the Storybook sidebar menu. At the moment it's mostly randomised.

Screenshot 2023-03-13 at 11 41 18

The ideal order should be:

  • Introduction
  • Utils
  • Form
  • Table
  • Details
  • CopytoClipboard

Use storySort in preview.js to set the order ---> https://storybook.js.org/docs/react/writing-stories/naming-components-and-hierarchy#sorting-stories

Please follow the following instruction to create the new branch:

git checkout release/0.7
git pull
git checkout -b 'feature/story-sort'
@daniele-zurico daniele-zurico added the documentation Improvements or additions to documentation label Mar 14, 2023
@daniele-zurico daniele-zurico self-assigned this Mar 14, 2023
@daniele-zurico daniele-zurico added this to the 0.7 milestone Mar 14, 2023
@daniele-zurico
Copy link
Contributor

closed by #433

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants