fix(card): cp-7.62.0 general UI issues#24587
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. |
…etamask-mobile into fix/mm-card-general-ui-issues
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThis PR contains changes exclusively to the Card feature in MetaMask Mobile. The changes include:
All changes are completely isolated to the Card feature (app/components/UI/Card/). No core wallet functionality, controllers, or other features are affected. The changes are primarily:
The SmokeCard tag is the appropriate and only necessary tag to run, as it will verify the Card feature functionality after these changes. No other features are impacted by these changes. |
|




Description
This PR addresses multiple UI/UX issues in the MetaMask Card feature:
Improved error handling for card provisioning: Previously, when card provisioning failed, the app showed a generic error message. Now it displays the actual error message returned by the API endpoint (e.g., "Unable to place a card order. Please contact customer support"), falling back to a generic message only when no specific error is provided.
Updated UI copy and text improvements:
Visual improvements:
ActivityIndicatorwithAnimatedSpinnerin the KYC verification screen for consistent stylingCode cleanup:
MailingAddressroute from onboarding navigatorVerifyingRegistrationroute from card routesChangelog
CHANGELOG entry: Fixed card provisioning to show specific API error messages instead of generic errors
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Improves Card provisioning feedback, polishes onboarding UX/copy, and removes unused onboarding flows.
provisionCard(inCardSDK.ts) and displays them inCardHometoast; falls back tocard_home.enable_card_errorActivityIndicatorwithAnimatedSpinnerinVerifyingVeriffKYC, swap verify identity imageConfirmEmailnow resets navigation toRoutes.CARD.AUTHENTICATION;ConfirmModalacceptsonCloseand wires it toBottomSheetMailingAddressandVerifyingRegistrationscreens, routes, and tests; prunes related navigator entriesen.json; updates tests to reflect new behaviorsWritten by Cursor Bugbot for commit 9a7af72. This will update automatically on new commits. Configure here.