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

Upgrade Storybook #1459

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Upgrade Storybook #1459

merged 1 commit into from
Jul 25, 2023

Conversation

axelboc
Copy link
Contributor

@axelboc axelboc commented Jul 25, 2023

https://github.com/storybookjs/storybook/releases from v7.0.5 to v7.1.1. There's a v7.0.27, so I recommend skipping the release notes, except maybe for https://github.com/storybookjs/storybook/releases/tag/v7.1.0 and https://github.com/storybookjs/storybook/releases/tag/v7.0.25.

The latter patch release fixed an issue that prevented us from rendering VisCanvas in decorators. I demonstrate this in Annotation.stories.tsx to avoid duplication, but that's the only place I found this pattern to be really useful. At first, I wanted to use it in the HeatmapMesh.stories.tsx, for instance, as a way to avoid declaring a custom render function in the Default stories (and, as a consequence, avoid spreading the Default object in all the subsequent stories objects), but on second thought, it doesn't save much code and I find the current version more explicit.

Anyway, at least we know it's doable now.

@axelboc axelboc requested a review from loichuder July 25, 2023 14:37
@axelboc axelboc merged commit 7fc3251 into main Jul 25, 2023
8 checks passed
@axelboc axelboc deleted the up-storybook branch July 25, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants