Update Text import paths: component library/#19987
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. |
347fc43 to
a3a4602
Compare
a3a4602 to
3c5e281
Compare
Codecov Report
@@ Coverage Diff @@
## develop #19987 +/- ##
===========================================
+ Coverage 69.41% 69.42% +0.01%
===========================================
Files 990 990
Lines 37418 37418
Branches 10039 10039
===========================================
+ Hits 25973 25976 +3
+ Misses 11445 11442 -3
|
Builds ready [3c5e281]
Page Load Metrics (1507 ± 49 ms)
Bundle size diffs
|
b5cf715 to
b1fba90
Compare
Builds ready [b1fba90]
Page Load Metrics (1586 ± 60 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Avatars
Before/After screencast showing no visual regressions for all avatar components
Before
before.avatars.mov
After
after.avatars.mov
3f5ef57 to
c55c362
Compare
There was a problem hiding this comment.
PropTypes will be resolved in TS migration of this component #18886
There was a problem hiding this comment.
This was used because the Box didn't accept 0 values this has now been resolved in the TS version of the Box so it's no longer needed
There was a problem hiding this comment.
Buttons
Before/After screencast showing no visual regressions for all button components
Before
button.before.mov
After
button.after.mov
Builds ready [e7e7483]
Page Load Metrics (1424 ± 28 ms)
Bundle size diffs
|
garrettbear
left a comment
There was a problem hiding this comment.
LGTM. Lots of snapshot updates 😅
There was a problem hiding this comment.
Banners
Before
before.banner.mov
After
after.banner.mov
There was a problem hiding this comment.
Forms
Before
form.before.2.mov
form.before.mov
After
Screen.Recording.2023-07-14.at.3.29.30.PM.mov
ddd968b
e7e7483 to
ddd968b
Compare
Builds ready [ddd968b]
Page Load Metrics (1488 ± 30 ms)
Bundle size diffs
|
Explanation
Currently, there are deprecated instances of the
Textcomponent that use the JavaScript version of theBoxcomponent. This PR updates those deprecated import paths to the new component in thecomponent-library/folder as well as updating some components and PropTypes to utilize the TypeScript version of theBoxcomponent correctlyScreenshots/Screencaps
I have added Before/After screencasts to ensure no visual regressions have occurred to components with some significant updates other than snapshot updates in the code comments
Manual Testing Steps
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 Boardlabel.In this case, a QA Engineer approval will be be required.