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

UX updates for in-context MetricCards #1583

Merged
merged 2 commits into from
Sep 19, 2023
Merged

UX updates for in-context MetricCards #1583

merged 2 commits into from
Sep 19, 2023

Conversation

susiekims
Copy link
Contributor

@susiekims susiekims commented Sep 5, 2023

What does this implement/fix?

  • Remove last point from LineSeries
  • Change TrendIndicator font-size from 12px to 11px

Does this close any currently open issues?

Part of https://github.com/Shopify/core-issues/issues/58330

What do the changes look like?

Before After
image image

Storybook link

https://6062ad4a2d14cd0021539c1b-rgfylvlouv.chromatic.com/?path=/story/polaris-viz-chromatic-charts-simplebarchart--trend-with-all-positive

Before merging

  • Check your changes on a variety of browsers and devices.

  • Update the Changelog's Unreleased section with your changes.

  • Update relevant documentation, tests, and Storybook.

  • Make sure you're exporting any new shared Components, Types and Utilities from the top level index file of the package

@susiekims susiekims changed the title Remove last point from Line Series; Change TrendIndicator font-size t… UX updates for in-context MetricCards Sep 5, 2023
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
polaris-viz-core-cjs 61.33 KB (-0.16% 🔽) 1.3 s (-0.16% 🔽) 1.7 s (-11.53% 🔽) 2.9 s
polaris-viz-cjs 211.14 KB (-0.04% 🔽) 4.3 s (-0.04% 🔽) 4.1 s (+6.21% 🔺) 8.3 s
polaris-viz-esm 173.44 KB (-0.05% 🔽) 3.5 s (-0.05% 🔽) 3 s (-5.12% 🔽) 6.4 s
polaris-viz-css 4.56 KB (0%) 92 ms (0%) 862 ms (+10.45% 🔺) 953 ms
polaris-viz-esnext 178.55 KB (-0.06% 🔽) 3.6 s (-0.06% 🔽) 2.8 s (+28.57% 🔺) 6.4 s

@susiekims susiekims marked this pull request as ready for review September 5, 2023 18:00
Copy link
Collaborator

@michaelnesen michaelnesen left a comment

Choose a reason for hiding this comment

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

LGTM 🫡

@envex
Copy link
Collaborator

envex commented Sep 6, 2023

Something is funky with the simple bar chart examples: https://shopify.chromatic.com/test?appId=6062ad4a2d14cd0021539c1b&id=64f88b90da3f65699ee66315

image

@envex envex merged commit c5d9b29 into main Sep 19, 2023
@shopify-shipit shopify-shipit bot temporarily deployed to production September 19, 2023 14:21 Inactive
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.

3 participants