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

chore: update storybook #471

Merged
merged 4 commits into from
Oct 24, 2024
Merged

chore: update storybook #471

merged 4 commits into from
Oct 24, 2024

Conversation

gabyzif
Copy link
Contributor

@gabyzif gabyzif commented Oct 23, 2024

Summary

This PR updates Storybook and it's dependencies

Testing Plan

@ilyusha
Copy link
Collaborator

ilyusha commented Oct 23, 2024

Review Forge

Click Here for AI Insights

Copy link

github-actions bot commented Oct 23, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://mParticle.github.io/aquarium/pr-preview/pr-471/
on branch gh-pages at 2024-10-24 16:14 UTC

.storybook/main.ts Outdated Show resolved Hide resolved
@gabyzif gabyzif marked this pull request as ready for review October 24, 2024 13:35
Comment on lines +51 to +54

typescript: {
reactDocgen: 'react-docgen-typescript',
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is that needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When doing the migration this was prompt:

Screenshot 2024-10-24 at 5 45 54 PM

So basically SB swiched to react-docgen but we had react-docgen-typescript on place and by doing this we are keeping it and not moving to react-docgen.

More info here

@@ -52,6 +52,8 @@ const preview: Preview = {
},
},
},

tags: ['autodocs'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

same as the above

Copy link
Contributor Author

@gabyzif gabyzif Oct 24, 2024

Choose a reason for hiding this comment

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

This happened automatically when doing the upgrade. Before we we had the autodocs placed on main here:

Screenshot 2024-10-24 at 5 37 53 PM

When I was upgrading SB this showed up:

Screenshot 2024-10-24 at 5 24 24 PM

So basically it moved the config to the preview page.

more info here: migration docs

Copy link
Collaborator

@tibuurcio tibuurcio left a comment

Choose a reason for hiding this comment

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

LGTM

@tibuurcio tibuurcio merged commit 4e481fe into main Oct 24, 2024
9 checks passed
@mparticle-automation
Copy link
Collaborator

🎉 This PR is included in version 1.34.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

4 participants