fix: Polish Card toast for 8.6.0 release - #33766
Conversation
Align Card toast call sites with the shared 8.6.0 toast polish pattern. Co-authored-by: Cursor <cursoragent@cursor.com>
|
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. |
PR template — items to address before "Ready for review"Warnings — informational, address before merging:
See docs/readme/ready-for-review.md for the full Definition of Ready for Review. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
All changes are isolated to the Card/Money feature. No shared components (navigation, modals, confirmations, controllers) are affected. SmokeMoney covers Card home screen, card management, and related flows. No other tags are warranted since there are no changes to swap confirmations, network, accounts, or other feature areas. Performance Test Selection: |
|
## **Description** Polishes Metamask Assets toast call sites for the 8.6.0 release so they align with the shared toast pattern (Confirmation icon, success/error icon colors, and default toast chrome instead of custom background colors). Updates token-details copy and NFT autodetection success toasts to use the Confirmation icon with success coloring. ## **Changelog** CHANGELOG entry: Polished toast styling for consistency in the 8.6.0 release ## **Related issues** Fixes: Related toast polish PRs for 8.6.0: - MetaMask#33765 — Design System Engineers - MetaMask#33766 — Card - MetaMask#33767 — Predict - MetaMask#33769 — Money Movement - MetaMask#33771 — Mobile Core UX - MetaMask#33772 — Engagement - MetaMask#33773 — Social AI - MetaMask#33774 — Web3Auth - MetaMask#33775 — Earn - MetaMask#33791 — Watchlist ## **Manual testing steps** ```gherkin Feature: Assets toasts Scenario: token address copied Given the user copies a token address from token details When the toast appears Then it uses the Confirmation icon with the success color ``` ## **Screenshots/Recordings** ### **Before** https://github.com/user-attachments/assets/27ace1cd-6dc8-4feb-96ea-0ae5b5050b42 ### **After** https://github.com/user-attachments/assets/77363454-050d-460d-a4ac-3a9db699854c ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [x] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [x] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [x] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example For performance guidelines and tooling, see the [Performance Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers). ## **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. Made with [Cursor](https://cursor.com) Co-authored-by: Cursor <cursoragent@cursor.com>
## **Description** Polishes Earn toast call sites for the 8.6.0 release so they align with the shared toast pattern (Confirmation icon, success/error icon colors, and default toast chrome instead of custom background colors). Updates the Cash mUSD empty-state Merkl claim error toast label to bold for consistency with other plain toasts. ## **Changelog** CHANGELOG entry: Polished toast styling for consistency in the 8.6.0 release ## **Related issues** Fixes: Related toast polish PRs for 8.6.0: - MetaMask#33765 — Design System Engineers - MetaMask#33766 — Card - MetaMask#33767 — Predict - MetaMask#33769 — Money Movement - MetaMask#33770 — Metamask Assets - MetaMask#33771 — Mobile Core UX - MetaMask#33772 — Engagement - MetaMask#33773 — Social AI - MetaMask#33774 — Web3Auth - MetaMask#33791 — Watchlist ## **Manual testing steps** ```gherkin Feature: Cash claim error toast Scenario: Merkl claim error Given a Merkl claim error occurs on the Cash empty state When the toast appears Then the error label is bold ``` ## **Screenshots/Recordings** ### **Before** https://github.com/user-attachments/assets/18dbc467-9ee9-418a-9b64-3e051a0d10ca ### **After** https://github.com/user-attachments/assets/eb07041e-f01b-4822-817f-d1e6e3bbe58e ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [x] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [x] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [x] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example For performance guidelines and tooling, see the [Performance Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers). ## **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. Made with [Cursor](https://cursor.com) Co-authored-by: Cursor <cursoragent@cursor.com>
## **Description** Polishes Web3Auth toast call sites for the 8.6.0 release so they align with the shared toast pattern (Confirmation icon, success/error icon colors, and default toast chrome instead of custom background colors). Updates the import-SRP success toast to use the Confirmation icon with the theme success color. ## **Changelog** CHANGELOG entry: Polished toast styling for consistency in the 8.6.0 release ## **Related issues** Fixes: Related toast polish PRs for 8.6.0: - MetaMask#33765 — Design System Engineers - MetaMask#33766 — Card - MetaMask#33767 — Predict - MetaMask#33769 — Money Movement - MetaMask#33770 — Metamask Assets - MetaMask#33771 — Mobile Core UX - MetaMask#33772 — Engagement - MetaMask#33773 — Social AI - MetaMask#33775 — Earn - MetaMask#33791 — Watchlist ## **Manual testing steps** ```gherkin Feature: Import SRP toast Scenario: SRP imported successfully Given the user successfully imports a secret recovery phrase When the success toast appears Then it uses the Confirmation icon with the success color ``` ## **Screenshots/Recordings** ### **Before** https://github.com/user-attachments/assets/3b4e9009-bf86-4df0-b012-faf210ebaa40 ### **After** https://github.com/user-attachments/assets/09487e6e-4e41-4d68-8f86-a155bf7a1c63 ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [x] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [x] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [x] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example For performance guidelines and tooling, see the [Performance Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers). ## **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. Made with [Cursor](https://cursor.com) --------- Co-authored-by: Cursor <cursoragent@cursor.com>
## **Description** Polishes Engagement toast call sites for the 8.6.0 release so they align with the shared toast pattern (Confirmation icon, success/error icon colors, and default toast chrome instead of custom background colors). Updates notification copy-clipboard and push-notification onboarding toasts to use Confirmation + success/default icon colors and shared accessory spacing. ## **Changelog** CHANGELOG entry: Polished toast styling for consistency in the 8.6.0 release ## **Related issues** Fixes: Related toast polish PRs for 8.6.0: - MetaMask#33765 — Design System Engineers - MetaMask#33766 — Card - MetaMask#33767 — Predict - MetaMask#33769 — Money Movement - MetaMask#33770 — Metamask Assets - MetaMask#33771 — Mobile Core UX - MetaMask#33773 — Social AI - MetaMask#33774 — Web3Auth - MetaMask#33775 — Earn - MetaMask#33791 — Watchlist ## **Manual testing steps** ```gherkin Feature: Notification toasts Scenario: copy from notification details Given the user copies a value from a notification detail When the toast appears Then it uses the Confirmation icon with the success color ``` ## **Screenshots/Recordings** ### **Before** https://github.com/user-attachments/assets/6bc662e1-e36e-48ec-b093-62924433af77 ### **After** https://github.com/user-attachments/assets/eb9f5c07-546c-4165-ab61-84955173e096 ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [x] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [x] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [x] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example For performance guidelines and tooling, see the [Performance Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers). ## **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. Made with [Cursor](https://cursor.com) --------- Co-authored-by: Cursor <cursoragent@cursor.com>
## **Description** Polishes Predict toast call sites for the 8.6.0 release so they align with the shared toast pattern (Confirmation icon, success/error icon colors, and default toast chrome instead of custom background colors). Updates Predict place-order and cash-out toasts to use Confirmation/Danger icons with theme success/error colors, and adjusts unit tests accordingly. ## **Changelog** CHANGELOG entry: Polished toast styling for consistency in the 8.6.0 release ## **Related issues** Fixes: Related toast polish PRs for 8.6.0: - MetaMask#33765 — Design System Engineers - MetaMask#33766 — Card - MetaMask#33769 — Money Movement - MetaMask#33770 — Metamask Assets - MetaMask#33771 — Mobile Core UX - MetaMask#33772 — Engagement - MetaMask#33773 — Social AI - MetaMask#33774 — Web3Auth - MetaMask#33775 — Earn - MetaMask#33791 — Watchlist ## **Manual testing steps** ```gherkin Feature: Predict order toasts Scenario: successful place order Given the user places a prediction order successfully When the success toast appears Then it uses the Confirmation icon with the success color ``` ## **Screenshots/Recordings** ### **Before** https://github.com/user-attachments/assets/2d43e493-d681-4af4-bca2-3d0329e953dd ### **After** https://github.com/user-attachments/assets/10421f3c-656e-42f1-841b-e141e8b6c14c ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [x] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [x] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [x] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example For performance guidelines and tooling, see the [Performance Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers). ## **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. Made with [Cursor](https://cursor.com) --------- Co-authored-by: Cursor <cursoragent@cursor.com>
## **Description** Polishes Mobile Core UX toast call sites for the 8.6.0 release so they align with the shared toast pattern (Confirmation icon, success/error icon colors, and default toast chrome instead of custom background colors). Updates Address QR / QR account display copy toasts and the Wallet privacy-policy toast close control to match the shared toast polish pattern. ## **Changelog** CHANGELOG entry: Polished toast styling for consistency in the 8.6.0 release ## **Related issues** Fixes: Related toast polish PRs for 8.6.0: - MetaMask#33765 — Design System Engineers - MetaMask#33766 — Card - MetaMask#33767 — Predict - MetaMask#33769 — Money Movement - MetaMask#33770 — Metamask Assets - MetaMask#33772 — Engagement - MetaMask#33773 — Social AI - MetaMask#33774 — Web3Auth - MetaMask#33775 — Earn - MetaMask#33791 — Watchlist ## **Manual testing steps** ```gherkin Feature: Core UX toasts Scenario: address copied Given the user copies an account address from QR account display When the toast appears Then it is an Icon toast with Confirmation + success color ``` ## **Screenshots/Recordings** ### **Before** https://github.com/user-attachments/assets/7f48d3a7-3dfb-4eae-ac30-f6db8dbd0766 ### **After** https://github.com/user-attachments/assets/cd9a5000-80a1-4380-abf3-d39152f0e4e6 ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [x] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [x] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [x] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example For performance guidelines and tooling, see the [Performance Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers). ## **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. Made with [Cursor](https://cursor.com) Co-authored-by: Cursor <cursoragent@cursor.com>



Description
Polishes Card toast call sites for the 8.6.0 release so they align with the shared toast pattern (Confirmation icon, success/error icon colors, and default toast chrome instead of custom background colors).
Updates Card toast call sites (copy success, provisioning errors, asset selection, spending limit, money-account linkage, waitlist success) and splits the waitlist success copy into title + description locale strings.
Changelog
CHANGELOG entry: Polished toast styling for consistency in the 8.6.0 release
Related issues
Fixes:
Related toast polish PRs for 8.6.0:
Manual testing steps
Screenshots/Recordings
Before
Screen.Recording.2026-07-28.at.3.27.35.PM.mov
After
card-after.mov
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Made with Cursor