-
Notifications
You must be signed in to change notification settings - Fork 531
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
chore(stories): add categories #4154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we move forward with this, we should keep the same order than the doc.
- Basics
- Results
- Refinements
- Pagination
- Metadata
- Sorting
@samouss Do you have an easy solution in mind? Storybook's documentation isn't clear about sorting categories of stories. |
already upvoted this once apparently but: storybookjs/storybook#548 (comment) |
there's also storybookjs/storybook#548 (comment) |
Typing issues on Storybook's end... Let's wait for storybookjs/storybook#8233 to be fixed. |
we can add |
bb36e27
to
b75e537
Compare
Upgrading to Storybook 5.2.3 fixed the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, but we need the PR to update the docs ready to be merged before this is merged, right?
@Haroenv PR sent in algolia/doc#3807. I'm also updating the PR for the new |
The order of the sections changed in the doc in the meantime ahah. I'll reflect the order in this PR. |
Description
This adds sections in our Storybook following the same organization as the documentation API ref.
Note that this updates the stories URLs and therefore we need to update the documentation links for v4.
Let me know if you want to go that route so that I PR the doc repo.
Preview
See stories →