-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Restructure CurrencyDisplay to use Design System #19171
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
2d0bbf8
to
16de22c
Compare
d1a53b0
to
767d879
Compare
5cc85bd
to
8026ab9
Compare
Builds ready [8026ab9]
Page Load Metrics (1786 ± 101 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ui/components/ui/currency-display/currency-display.component.js
Outdated
Show resolved
Hide resolved
ui/components/ui/currency-display/currency-display.component.js
Outdated
Show resolved
Hide resolved
ui/components/ui/currency-display/currency-display.component.js
Outdated
Show resolved
Hide resolved
ui/components/ui/currency-display/currency-display.component.js
Outdated
Show resolved
Hide resolved
b12c7e9
to
084d114
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. Just need pesky e2e tests to pass
Builds ready [987d548]
Page Load Metrics (1500 ± 40 ms)
Bundle size diffs
|
Builds ready [48ded7b]
Page Load Metrics (1636 ± 65 ms)
Bundle size diffs
|
Codecov Report
@@ Coverage Diff @@
## develop #19171 +/- ##
========================================
Coverage 69.42% 69.43%
========================================
Files 990 990
Lines 37418 37423 +5
Branches 10039 10044 +5
========================================
+ Hits 25976 25981 +5
Misses 11442 11442
|
07e6d59
48ded7b
to
07e6d59
Compare
Co-authored-by: George Marshall <[email protected]>
Co-authored-by: George Marshall <[email protected]>
Co-authored-by: George Marshall <[email protected]>
Co-authored-by: George Marshall <[email protected]>
Co-authored-by: George Marshall <[email protected]>
07e6d59
to
e6376e6
Compare
Builds ready [dc2497a]
Page Load Metrics (1615 ± 86 ms)
Bundle size diffs
|
ui/components/ui/currency-display/currency-display.component.js
Outdated
Show resolved
Hide resolved
ui/components/ui/currency-display/currency-display.component.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the comment about boxProps
this looks good to me
Builds ready [5d055d7]
Page Load Metrics (1509 ± 37 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the code looks good and I know this PR has been open for a while so this is non-blocking but could we update the story slightly more so it adds more value to the viewer? The default story has 7.3b but it's not reflected in the component. The second story seems to add more value. Can we consolidate them possibly?
Explanation
The
CurrencyDisplay
component has legacy CSS and is unfriendly to the new design system. This is essentially a structural rewrite using the new design system components.Screenshots/Screencaps
There should be no visible changes.
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.