Skip to content
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

refactor: Update AvatarVariants to AvatarVariant #7746

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

brianacnguyen
Copy link
Contributor

@brianacnguyen brianacnguyen commented Nov 9, 2023

Description

Rename AvatarVariants to AvatarVariant

Screenshots

Simulator Screen Shot - iPhone 14 Pro - 2023-11-09 at 13 36 36
Simulator Screen Shot - iPhone 14 Pro - 2023-11-09 at 13 36 38
Simulator Screen Shot - iPhone 14 Pro - 2023-11-09 at 13 36 46

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • 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.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

@brianacnguyen brianacnguyen added needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking team-design-system All issues relating to design system in Mobile Run Smoke E2E labels Nov 9, 2023
@brianacnguyen brianacnguyen self-assigned this Nov 9, 2023
@brianacnguyen brianacnguyen requested a review from a team as a code owner November 9, 2023 21:17
Copy link
Contributor

github-actions bot commented Nov 9, 2023

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.

Copy link
Contributor

github-actions bot commented Nov 9, 2023

E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/0cfc0cd9-c1b7-4a77-8efa-9b390e889c90
You can also kick off another Bitrise E2E smoke test by removing and re-applying the (Run Smoke E2E) label

@metamaskbot metamaskbot added the INVALID-PR-TEMPLATE PR's body doesn't match template label Nov 9, 2023
@tommasini
Copy link
Contributor

Hey @brianacnguyen Can we have a recording of some components impacted?

@brianacnguyen
Copy link
Contributor Author

Hey @brianacnguyen Can we have a recording of some components impacted?

done

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8522e9d) 35.09% compared to head (699306d) 35.09%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7746   +/-   ##
=======================================
  Coverage   35.09%   35.09%           
=======================================
  Files        1035     1035           
  Lines       27525    27525           
  Branches     2312     2312           
=======================================
  Hits         9660     9660           
  Misses      17345    17345           
  Partials      520      520           
Files Coverage Δ
...ccounts/AccountBalance/AccountBalance.constants.ts 100.00% <ø> (ø)
...mponents-temp/Accounts/AccountBase/AccountBase.tsx 60.00% <ø> (ø)
...temp/Contracts/ContractBoxBase/ContractBoxBase.tsx 100.00% <ø> (ø)
...brary/components/Avatars/Avatar/Avatar.stories.tsx 0.00% <ø> (ø)
...onent-library/components/Avatars/Avatar/Avatar.tsx 62.50% <ø> (ø)
...adges/Badge/variants/BadgeNetwork/BadgeNetwork.tsx 100.00% <ø> (ø)
...nt-library/components/Cells/Cell/Cell.constants.ts 100.00% <ø> (ø)
...lls/Cell/foundation/CellBase/CellBase.constants.ts 100.00% <ø> (ø)
...Cell/variants/CellDisplay/CellDisplay.constants.ts 100.00% <ø> (ø)
...iants/CellMultiSelect/CellMultiSelect.constants.ts 100.00% <ø> (ø)
... and 17 more

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

Copy link

sonarcloud bot commented Nov 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
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.

LGMT!

  • Checked out branch and did a search for AvatarVariants with no results
Screenshot 2023-11-10 at 8 30 30 AM

Copy link
Contributor

@tommasini tommasini left a comment

Choose a reason for hiding this comment

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

LGTM!

@brianacnguyen brianacnguyen merged commit 3e22493 into main Nov 9, 2023
28 checks passed
@brianacnguyen brianacnguyen deleted the morph/avatar-variants branch November 9, 2023 22:04
@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Nov 9, 2023
@metamaskbot metamaskbot added the release-7.12.0 Issue or pull request that will be included in release 7.12.0 label Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
INVALID-PR-TEMPLATE PR's body doesn't match template release-7.12.0 Issue or pull request that will be included in release 7.12.0 Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking team-design-system All issues relating to design system in Mobile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants