Update Text import paths: /multichain#20061
Merged
georgewrmarshall merged 5 commits intodevelopfrom Jul 18, 2023
Merged
Conversation
Contributor
|
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. |
| class="mm-box mm-text mm-text--body-md mm-box--color-text-alternative" | ||
| data-testid="multichain-token-list-item-value" | ||
| > | ||
| 5.000 |
Contributor
Author
Collaborator
Builds ready [e8028e5]
Page Load Metrics (1592 ± 36 ms)
Bundle size diffs
|
|
|
||
| import { useI18nContext } from '../../../hooks/useI18nContext'; | ||
| import { exportAccount, hideWarning } from '../../../store/actions'; | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Updating to use BannerAlert description prop. This will keep the font size at 14px on popup view but 16px on expanded
Before
before.mov
After
after.mov
| class="mm-box mm-text mm-text--body-sm mm-text--text-align-end mm-box--color-text-alternative" | ||
| > | ||
| <div | ||
| class="currency-display-component" |
Contributor
Author
There was a problem hiding this comment.
No visual regressions
Before
account.list.item.before.mov
After
account.list.item.after.mov
| class="mm-box mm-text mm-text--body-md mm-text--font-weight-bold mm-text--ellipsis mm-box--color-text-default" | ||
| > | ||
| Account 1 | ||
| </span> |
Contributor
Author
There was a problem hiding this comment.
No visual regressions
Before
accountpicker.before.mov
After
accountpicker.after.mov
| class="mm-box mm-text mm-text--body-md mm-text--font-weight-bold mm-text--ellipsis mm-box--color-text-default" | ||
| > | ||
| Test Account | ||
| </span> |
Contributor
Author
| class="mm-box mm-text mm-text--body-md mm-box--color-text-alternative" | ||
| data-testid="multichain-token-list-item-value" | ||
| > | ||
|
|
Contributor
Author
There was a problem hiding this comment.
No visual regressions
Before
tokenlistitem.before.mov
After
tokenlistitem.after.mov
darkwing
approved these changes
Jul 18, 2023
Collaborator
Builds ready [70f5a8e]
Page Load Metrics (1902 ± 68 ms)
Bundle size diffs
|
garrettbear
approved these changes
Jul 18, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




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 theui/components/multichainfolder as well as snapshotsScreenshots/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.