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 to v7.6 #5115

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Upgrade Storybook to v7.6 #5115

merged 2 commits into from
Dec 14, 2023

Conversation

mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Dec 14, 2023

Comments inline

@@ -1,6 +1,5 @@
import { Preview } from '@storybook/react'
import { InternalVsCodeApi } from '../src/shared/api'
import { action } from '@storybook/addon-actions'
Copy link
Contributor Author

@mattseddon mattseddon Dec 14, 2023

Choose a reason for hiding this comment

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

[F] This is the source of the bug. Having action wrapped around postMessage/setState in the VS Code API meant that we could record the payload sent to the extension. I have not used this in a long time and I think we should be testing that functionality differently (i.e. automated tests). I have removed it so that we can move forwards but we can park this for a while if you feel differently.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(@storybook/addon-actions tries to import @storybook/globals which is no longer available)

@@ -10,8 +10,6 @@ export const config: StorybookConfig = {
staticDirs: ['../../extension/src/test/fixtures/plotsDiff/staticImages'],
addons: [
'storybook-addon-themes',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

[F] Unless chromatic uses this I don't think we actually use it at all.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 6470 lines exceeds the maximum allowed for the inline comments feature.

@mattseddon mattseddon marked this pull request as ready for review December 14, 2023 01:57
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 6470 lines exceeds the maximum allowed for the inline comments feature.

@sroy3 sroy3 enabled auto-merge (squash) December 14, 2023 15:51
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 6470 lines exceeds the maximum allowed for the inline comments feature.

Copy link

codeclimate bot commented Dec 14, 2023

Code Climate has analyzed commit a326f9b and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.2% (0.0% change).

View more on Code Climate.

@sroy3 sroy3 merged commit a469305 into main Dec 14, 2023
@sroy3 sroy3 deleted the update-storybook branch December 14, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants