-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: updated styling in badgenetwork #9401
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. |
app/component-library/components/Badges/Badge/variants/BadgeNetwork/BadgeNetwork.constants.ts
Outdated
Show resolved
Hide resolved
app/component-library/components/Badges/Badge/variants/BadgeNetwork/BadgeNetwork.styles.ts
Show resolved
Hide resolved
app/component-library/components/Badges/Badge/variants/BadgeNetwork/BadgeNetwork.tsx
Show resolved
Hide resolved
app/component-library/components/Badges/Badge/variants/BadgeNetwork/BadgeNetwork.types.ts
Show resolved
Hide resolved
…to fix/badge-networks
Thanks @brianacnguyen, first, much thanks for your support and for making this change. Since I know the context I thought I might as well join the review. nit: About the conventional commit prefix, since the PR does add the ability for the dev to configure the size of the NetworkBadge, I might have leaned towards prefixing it with feat rather than refactor. Looks good to me, approved 👍 |
updated title😁 |
I tried with the latest changes from commit f1ba253, with badge sizes set as Xs and Sm, and it looks good to me, on both iOS and Android. |
…to fix/badge-networks
app/component-library/components/Badges/Badge/variants/BadgeNetwork/BadgeNetwork.styles.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a couple questions near the design requirements but if those have been thought about happy to approve
app/component-library/components/Badges/Badge/variants/BadgeNetwork/BadgeNetwork.styles.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Awesome PR @brianacnguyen
Description
This PR seeks to
BadgeNetwork
to correctly scale theAvatarNetwork
BadgeNetwork
per designBadgeNetwork
Related issues
Fixes: https://github.com/MetaMask/metamask-mobile#workspaces/design-system-61e8a2ae77c3a60012e5003c/issues/zh/602
Manual testing steps
Screenshots/Recordings
Before
After
https://github.com/MetaMask/metamask-mobile/assets/14355083/4b14ea27-5803-4f20-95e7-60cf6b1396c0
https://github.com/MetaMask/metamask-mobile/assets/14355083/4582c921-3903-4cda-b4ce-3b8f75c510ed
Pre-merge author checklist
Pre-merge reviewer checklist