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

Add diffThreshold to storybook #8778

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Conversation

kyledurand
Copy link
Contributor

@kyledurand kyledurand commented Mar 28, 2023

This is still a test but I think needs to be merged into main before we can compare against it. I will follow up with a test PR to test this. This new threshold will catch smaller changes like 4px border-radius changes that weren't caught in this pr

I compared the two snapshots using the chromatic tool here

threshold.mp4

@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2023

size-limit report 📦

Path Size
polaris-react-cjs 239.1 KB (0%)
polaris-react-esm 156.05 KB (0%)
polaris-react-esnext 218.3 KB (0%)
polaris-react-css 47.21 KB (0%)

@kyledurand kyledurand force-pushed the chromatic-add-diff-threshold branch 5 times, most recently from 74a2748 to 3a59a6a Compare March 29, 2023 12:49
@kyledurand kyledurand marked this pull request as ready for review March 29, 2023 12:54
@kyledurand kyledurand self-assigned this Mar 29, 2023
@kyledurand kyledurand requested a review from laurkim March 29, 2023 12:54
@kyledurand kyledurand merged commit a4f3838 into main Mar 29, 2023
@kyledurand kyledurand deleted the chromatic-add-diff-threshold branch March 29, 2023 13:13
juzser pushed a commit to juzser/polaris that referenced this pull request Jul 27, 2023
This is still a test but I think needs to be merged into main before we
can compare against it. I will follow up with a test PR to test this.
This new threshold will catch smaller changes like 4px border-radius
changes that weren't caught in [this
pr](Shopify#8626)

I compared the two snapshots using the chromatic tool
[here](https://6262c53f521620003ac2ff49-ukmsdlppcb.chromatic.com/?path=/story/stories-diff-threshold-check--test-yours-out)


https://user-images.githubusercontent.com/6844391/228541322-b5fddce0-10cb-4b41-bfda-8873ee6651b0.mp4
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
This is still a test but I think needs to be merged into main before we
can compare against it. I will follow up with a test PR to test this.
This new threshold will catch smaller changes like 4px border-radius
changes that weren't caught in [this
pr](Shopify#8626)

I compared the two snapshots using the chromatic tool
[here](https://6262c53f521620003ac2ff49-ukmsdlppcb.chromatic.com/?path=/story/stories-diff-threshold-check--test-yours-out)


https://user-images.githubusercontent.com/6844391/228541322-b5fddce0-10cb-4b41-bfda-8873ee6651b0.mp4
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.

None yet

2 participants