refactor: migrate OnboardingSheet to design system component#28079
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Why these tags:
Why not other tags: The change is isolated to the OnboardingSheet component which is only used during initial onboarding. It doesn't affect confirmations, trading, network management, snaps, or other wallet features. Risk: Medium — the BottomSheet component swap could affect how the sheet renders, animates, or responds to gestures/back navigation in E2E tests. The Performance Test Selection: |
There was a problem hiding this comment.
Automation run status: blocked for this PR context.
The task instructions target MetaMask/metamask-design-system docs work (DSYS-616), but this run is attached to MetaMask/metamask-mobile PR #28079 and the available write tooling can only open/update PRs in metamask-mobile.
Blocking constraints found:
- Required MMDS doc paths are missing in this checkout:
packages/design-system-react/MIGRATION.mdpackages/design-system-react-native/MIGRATION.mdpackages/design-system-react/src/components/{ComponentName}packages/design-system-react-native/src/components/{ComponentName}
- Jira/Atlassian MCP tools requested by the prompt are not configured in this run.
- No DSYS-616 client PRs with a
Migration doc discrepancies foundsection were discovered in mobile/extension via GitHub search.
No repository changes were made in this run.
Sent by Cursor Automation: DSYS-616: MMDS - Create/Update migration docs
|
✅ E2E Fixture Validation — Schema is up to date |
|





Description
This PR migrates the OnboardingSheet toward the MetaMask design system.
JIra Link: https://consensyssoftware.atlassian.net/browse/TO-645
Changelog
CHANGELOG entry: migrate OnboardingSheet to design system component
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2026-03-30.at.12.06.51.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Swaps the underlying
BottomSheetimplementation and wiring, which can subtly change sheet dismissal/back navigation behavior and layout across platforms.Overview
Migrates
OnboardingSheetfrom the in-repo deprecatedBottomSheetto the@metamask/design-system-react-nativeBottomSheet, updating the import and passingnavigation.goBackvia the newgoBackprop.Updates Jest snapshots to reflect the design-system bottom sheet structure/style output (notably overlay/container layout and flex/style prop normalization) for both create and import modes.
Written by Cursor Bugbot for commit 296db77. This will update automatically on new commits. Configure here.