Shopify / polaris-viz

A collection of React and React native components that compose Shopify's data visualization system
https://polaris-viz.shopify.com
Other
327 stars 25 forks source link

Donut chart UX updates #1712

Closed michaelnesen closed 2 months ago

michaelnesen commented 3 months ago

What does this implement/fix?

https://github.com/Shopify/core-issues/issues/74649

This PR adds some new UX updates to the DonutChart:

Before After
Screenshot 2024-08-02 at 3 42 14 PM Screenshot 2024-08-02 at 3 41 07 PM

Does this close any currently open issues?

https://github.com/Shopify/core-issues/issues/74649

What do the changes look like?

Screenshot 2024-08-02 at 4 23 11 PM

Storybook link

https://6062ad4a2d14cd0021539c1b-brxtckilvd.chromatic.com/

Before merging

github-actions[bot] commented 3 months ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
polaris-viz-core-cjs 61.19 KB (+0.08% 🔺) 1.3 s (+0.08% 🔺) 1.1 s (+1.72% 🔺) 2.3 s
polaris-viz-cjs 215.29 KB (+0.03% 🔺) 4.4 s (+0.03% 🔺) 2.3 s (+14.51% 🔺) 6.6 s
polaris-viz-esm 176.19 KB (+0.01% 🔺) 3.6 s (+0.01% 🔺) 1.3 s (-0.58% 🔽) 4.9 s
polaris-viz-css 4.72 KB (-0.03% 🔽) 95 ms (-0.03% 🔽) 229 ms (-46.97% 🔽) 324 ms
polaris-viz-esnext 181.84 KB (+0.01% 🔺) 3.7 s (+0.01% 🔺) 1.3 s (-5.3% 🔽) 4.9 s