refactor(confirmations): use MMDS HeaderStandard#29701
Conversation
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Risk assessment: The change is a component substitution in modal headers. The risk is that Tag selection rationale:
Not selected: SmokeAccounts, SmokeIdentity, SmokeWalletPlatform, SmokeBrowser, SmokeSnaps, SmokeNetworkAbstractions, SmokeMoney, SmokeSeedlessOnboarding, SmokePredictions - these are not directly affected by confirmation modal header changes. Performance Test Selection: |
|



Description
This change replaces
HeaderCompactStandard(component-library) withHeaderStandardfrom@metamask/design-system-react-nativeacross confirmation-related modals and sheets.Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/DSYS-698
Manual testing steps
Screenshots/Recordings
Before
After
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
Note
Medium Risk
Swaps the header component across multiple confirmation modals/sheets; behavior differences in
HeaderStandard(close handling/layout) could affect dismissal and navigation in transaction confirmation flows.Overview
Migrates confirmation UI surfaces (account selector sheet, tooltips/expandables, gas-related modals, cancel/speedup modal, and pay-with token picker) from
HeaderCompactStandardto MMDSHeaderStandard.Updates related wiring and tests to match the new header API (including close handlers/props) and makes a small style comment/behavior alignment for the account selector sheet body layout.
Reviewed by Cursor Bugbot for commit de084ef. Bugbot is set up for automated code reviews on this repo. Configure here.