-
Notifications
You must be signed in to change notification settings - Fork 367
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
refactor: [M3-7547] - Graphs stories v7 migration #9999
Conversation
10c1e1a
to
bd04b23
Compare
@@ -13,6 +13,7 @@ const config: StorybookConfig = { | |||
'@storybook/addon-measure', | |||
'@storybook/addon-actions', | |||
'storybook-dark-mode', | |||
'@storybook/addon-storysource', |
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.
Coverage Report: ✅ |
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.
Stories and Storybook update looks good!
I do worry about the amount of vi.mocks and I don't completely understand why they are all needed.
Keep in mind Recharts is getting introduced and we'll hopefully be deleting LineGraph
and maybe the GaugePercent soon
@bnussman-akamai yeah that's fair. I simplified the tests since they will go away for those specific components. |
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.
🧼📈
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.
✅ tests
✅ stories look good!
one small comment below
ariaLabel?: string; | ||
/** | ||
* The height in `px` of the chart\n`number`. |
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.
3018cfd
to
d76a2bc
Compare
Description 📝
PR to migrate our Graph stories to v7
Changes 🔄
7.6.4
@storybook/addon-storysource
to show source code to individual storiesPreview 📷
How to test 🧪
Verification steps
(How to verify changes)
yarn storybook
yarn test GaugePercent.test.tsx
yarn test /LineGraph.test.tsx
As an Author I have considered 🤔
Check all that apply