refactor: migrate ManualBackupStep1 to design system components and T…#27677
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. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| false, | ||
| undefined, | ||
| undefined, |
There was a problem hiding this comment.
nit: tw.style mock generated many false / undefined, u can ask AI to assist in this




…ailwind CSS
Description
Jira Link: https://consensyssoftware.atlassian.net/browse/TO-604
Changelog
CHANGELOG entry: migrate ManualBackupStep1 to design system components and Tailwind CSS
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Refactors a security-sensitive SRP backup screen’s UI (seed phrase reveal + password unlock) to new design-system primitives and tailwind styling, which could introduce subtle layout/accessibility regressions across platforms/themes. Core navigation and seed phrase handling logic is largely unchanged but should be spot-checked in-app.
Overview
Migrates
ManualBackupStep1from bespokeStyleSheet/legacy UI components to@metamask/design-system-react-nativeprimitives (Box,Button,TextField,TextButton,Icon) and tailwind-driven styling viauseTailwind, and removes the dedicatedstyles.ts.Updates the seed-phrase reveal and password-confirmation views to the new components (including Android-specific bottom spacing and some accessibility props), and rewrites/streamlines the Jest tests and snapshots (new tailwind mock, consolidated setup helpers, updated theme snapshot expectations).
Written by Cursor Bugbot for commit 45d544d. This will update automatically on new commits. Configure here.