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(nodejs): Upgrade Chromatic to 7.0. #857

Merged
merged 4 commits into from
Apr 10, 2023
Merged

Conversation

dhess
Copy link
Member

@dhess dhess commented Apr 10, 2023

Storybook now includes a "Docs" panel for each component. Some of our
components don't work with this new panel (e.g., FloatingToolbar
doesn't appear), but I don't think this is reason enough not to
upgrade. We can fix these as needed. The individual component panels
all seem to work correctly, in any case.

Note: `pnpm build-storybook` is quite slow now as compared to v6, but
hopefully upstream will improve this over time.

Storybook now includes a "Docs" panel for each component. Some of our
components don't work with this new panel (e.g., `FloatingToolbar`
doesn't appear), but I don't think this is reason enough not to
upgrade. We can fix these as needed. The individual component panels
all seem to work correctly, in any case.
@dhess
Copy link
Member Author

dhess commented Apr 10, 2023

Yikes, the Storybook build times on the GitHub Action are absolutely terrible, much worse than I'm getting locally (which is already quite bad as compared to v6). I've filed an issue upstream:

edit: An upstream fix is coming (storybookjs/storybook#22013), but I was able to work around it in the meantime. Building the Storybook is now actually faster than before.

@dhess
Copy link
Member Author

dhess commented Apr 10, 2023

There also appear to be some issues with the UI tests check on Chromatic. I'll look into it. (Edit: sent email to support. They don't seem to know what's going on but say they'll look into it.)

@dhess
Copy link
Member Author

dhess commented Apr 10, 2023

According to Chromatic support, the UI test artifacts may be due to the (previously) really slow Storybook build and the UI test timing out, so let's merge this and see what happens with the next PR. They gave me some possible workarounds if that doesn't resolve the issue.

@dhess dhess merged commit 07ff9f1 into main Apr 10, 2023
@dhess dhess deleted the dhess/chromatic-upgrade branch April 10, 2023 22:57
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.

1 participant