Skip to content

Update Text import paths: /app#20083

Merged
georgewrmarshall merged 4 commits intodevelopfrom
part/19986/update-text-import-paths-app
Jul 19, 2023
Merged

Update Text import paths: /app#20083
georgewrmarshall merged 4 commits intodevelopfrom
part/19986/update-text-import-paths-app

Conversation

@georgewrmarshall
Copy link
Copy Markdown
Contributor

@georgewrmarshall georgewrmarshall commented Jul 18, 2023

Explanation

Currently, there are deprecated instances of the Text component that use the JavaScript version of the Box component. This PR updates those deprecated import paths to the new component in the ui/components/app folder as well as snapshots. There should be no visual or component API difference between the two. Just className changes which will touch many snapshots

Manual Testing Steps

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

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.

@georgewrmarshall georgewrmarshall added the team-design-system All issues relating to design system in Extension label Jul 18, 2023
@georgewrmarshall georgewrmarshall self-assigned this Jul 18, 2023
@github-actions
Copy link
Copy Markdown
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.

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [f0c6bf6]
Page Load Metrics (1482 ± 19 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint10814311994
domContentLoaded1400157714823919
load1400157714823919
domInteractive1400157714823919
Bundle size diffs
  • background: 0 bytes
  • ui: -5704 bytes
  • common: 0 bytes

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 19, 2023

Codecov Report

Merging #20083 (fbcbfb8) into develop (f9649a2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop   #20083   +/-   ##
========================================
  Coverage    69.46%   69.46%           
========================================
  Files          992      992           
  Lines        37452    37452           
  Branches     10042    10042           
========================================
  Hits         26013    26013           
  Misses       11439    11439           
Impacted Files Coverage Δ
ui/components/app/add-network/add-network.js 56.25% <ø> (ø)
...nced-gas-fee-defaults/advanced-gas-fee-defaults.js 100.00% <ø> (ø)
...ed-gas-fee-gas-limit/advanced-gas-fee-gas-limit.js 100.00% <ø> (ø)
...s/app/approve-content-card/approve-content-card.js 75.00% <ø> (ø)
ui/components/app/beta-header/index.js 100.00% <ø> (ø)
...p/cancel-speedup-popover/cancel-speedup-popover.js 78.12% <ø> (ø)
ui/components/app/confirm-data/confirm-data.js 93.75% <ø> (ø)
...m-legacy-gas-display/confirm-legacy-gas-display.js 93.55% <ø> (ø)
.../components/app/confirm-hexdata/confirm-hexdata.js 88.89% <ø> (ø)
...page-container/confirm-page-container.component.js 68.85% <ø> (ø)
... and 44 more

@georgewrmarshall georgewrmarshall marked this pull request as ready for review July 19, 2023 01:12
@georgewrmarshall georgewrmarshall requested review from a team as code owners July 19, 2023 01:12
NidhiKJha
NidhiKJha previously approved these changes Jul 19, 2023
DDDDDanica
DDDDDanica previously approved these changes Jul 19, 2023
@georgewrmarshall georgewrmarshall dismissed stale reviews from DDDDDanica and NidhiKJha via dd09a03 July 19, 2023 16:50
@georgewrmarshall georgewrmarshall force-pushed the part/19986/update-text-import-paths-app branch from f0c6bf6 to dd09a03 Compare July 19, 2023 16:50
DDDDDanica
DDDDDanica previously approved these changes Jul 19, 2023
@DDDDDanica
Copy link
Copy Markdown
Contributor

LGTM !

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [dd09a03]
Page Load Metrics (1604 ± 41 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1102581373115
domContentLoaded1460181116048641
load1460181116048641
domInteractive1460181116048541
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -5.52 KiB (-0.07%)
  • common: 0 Bytes (0.00%)

Mrtenz
Mrtenz previously approved these changes Jul 19, 2023
@georgewrmarshall georgewrmarshall dismissed stale reviews from Mrtenz and DDDDDanica via fbcbfb8 July 19, 2023 18:38
@georgewrmarshall georgewrmarshall force-pushed the part/19986/update-text-import-paths-app branch from dd09a03 to fbcbfb8 Compare July 19, 2023 18:38
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [fbcbfb8]
Page Load Metrics (1641 ± 66 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint117175138189
domContentLoaded14921967164013665
load14931967164113866
domInteractive14921967164013665
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -5.36 KiB (-0.07%)
  • common: 0 Bytes (0.00%)

@georgewrmarshall georgewrmarshall requested a review from Mrtenz July 19, 2023 20:03
@georgewrmarshall georgewrmarshall merged commit bf61322 into develop Jul 19, 2023
@georgewrmarshall georgewrmarshall deleted the part/19986/update-text-import-paths-app branch July 19, 2023 22:32
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 19, 2023
@metamaskbot metamaskbot added the release-10.36.0 Issue or pull request that will be included in release 10.36.0 label Jul 19, 2023
@Gudahtt Gudahtt added release-11.1.0 Issue or pull request that will be included in release 11.1.0 and removed release-10.36.0 Issue or pull request that will be included in release 10.36.0 labels Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-11.1.0 Issue or pull request that will be included in release 11.1.0 team-design-system All issues relating to design system in Extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants