feat: migrate RevealPrivateCredential to new design system components#27600
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 |
|




Description
Migrates the RevealPrivateCredential component from legacy React Native styling patterns (View, StyleSheet, component-library Text) to the MetaMask design system (Box, design system Text with semantic color tokens, Tailwind twClassName).
What changed:
Jira: https://consensyssoftware.atlassian.net/browse/TO-598
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
Screen.Recording.2026-03-18.at.6.01.17.PM.mov
After
Screen.Recording.2026-03-18.at.4.50.02.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Mostly a UI refactor, but it touches the Secret Recovery Phrase reveal screen; layout/token changes could inadvertently affect visibility, spacing, or test coverage for a security-sensitive flow.
Overview
Migrates
RevealPrivateCredentialfrom legacy React NativeView/component-libraryTextusage to the MetaMask design system, swapping inBox+ design-systemTextand updating typography/color tokens and wrapper layout totwClassName.Adds snapshot coverage for three key states (intro, password entry, and unlocked SRP view) and checks in the new
RevealPrivateCredential.test.tsx.snapfile to lock down rendering output.Written by Cursor Bugbot for commit 79feaf6. Configure here.