Skip to content

refactor: Replace deprecated mixins with Text component in selected-account.component.js#25262

Merged
garrettbear merged 12 commits intoMetaMask:developfrom
Devin-Applications:devin/mixin-selectedaccount
Jul 1, 2024
Merged

refactor: Replace deprecated mixins with Text component in selected-account.component.js#25262
garrettbear merged 12 commits intoMetaMask:developfrom
Devin-Applications:devin/mixin-selectedaccount

Conversation

@Devin-Apps
Copy link
Copy Markdown
Contributor

@Devin-Apps Devin-Apps commented Jun 12, 2024

Description

Replaced deprecated mixins with Text component in selected-account.component.js. The change aims to modernize the codebase by using the Text component from the design system, ensuring consistency and maintainability.

Devin Run Link: https://preview.devin.ai/devin/6dcddd7b3ee2456ca004b34d033b0d82

Open in GitHub Codespaces

Related issues

Partially Fixes: #20496

Manual testing steps

  1. Go to the latest build of storybook in this PR
  2. Verify the "SelectedAccount" component displays correctly with the updated Text component.

Screenshots/Recordings

Before

After

Screenshot 2024-06-12 at 21 55 36

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@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.

@Devin-Apps
Copy link
Copy Markdown
Contributor Author

Tagging @georgewrmarshall for review

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.69%. Comparing base (d403213) to head (871ad83).
Report is 9 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #25262   +/-   ##
========================================
  Coverage    69.69%   69.69%           
========================================
  Files         1350     1350           
  Lines        47865    47865           
  Branches     13199    13199           
========================================
  Hits         33355    33355           
  Misses       14510    14510           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@georgewrmarshall georgewrmarshall requested a review from a team June 13, 2024 16:38
@georgewrmarshall georgewrmarshall added the team-design-system All issues relating to design system in Extension label Jun 13, 2024
Copy link
Copy Markdown
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

Looking good! Left a couple suggestions

Devin-Apps and others added 3 commits June 14, 2024 02:26
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Copy link
Copy Markdown
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

Looking good! One suggestion

@georgewrmarshall georgewrmarshall requested a review from a team June 28, 2024 17:03
@georgewrmarshall georgewrmarshall marked this pull request as ready for review June 28, 2024 17:03
@georgewrmarshall georgewrmarshall requested a review from a team as a code owner June 28, 2024 17:03
Copy link
Copy Markdown
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@georgewrmarshall georgewrmarshall requested a review from a team June 28, 2024 17:17
@garrettbear garrettbear merged commit 198bedd into MetaMask:develop Jul 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2024
@metamaskbot metamaskbot added the release-12.2.0 Issue or pull request that will be included in release 12.2.0 label Aug 19, 2024
@metamaskbot
Copy link
Copy Markdown
Collaborator

No release label on PR. Adding release label release-12.2.0 on PR, as PR was added to branch 12.2.0 when release was cut.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

external-contributor release-12.2.0 Issue or pull request that will be included in release 12.2.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.

Replace deprecated mixins @include H1 - @include H9 in SCSS with Text component

5 participants