refactor: Removed TitleLeft-related components from components-temp#25997
refactor: Removed TitleLeft-related components from components-temp#25997brianacnguyen merged 5 commits intomainfrom
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: The affected views are:
All three views are directly related to account management functionality covered by SmokeAccounts, which tests:
The changes are purely UI component swaps - the prop structure is nearly identical (titleLeftProps → titleStandardProps), and the snapshot diff shows the layout is simplified but functionally equivalent. The header components provide back navigation and title display, which are critical for these account import flows. While ImportNewSecretRecoveryPhrase relates to multi-SRP architecture (SmokeWalletPlatform), the primary testing coverage for these specific import flows is through SmokeAccounts. The changes don't affect the underlying import logic, only the header UI presentation. Performance Test Selection: |
|



Description
This PR aligns subpage headers with the stacked-standard pattern by replacing all
HeaderWithTitleLeftusage withHeaderStackedStandardand removing the deprecated title-left components.Reason for change:
HeaderWithTitleLeftand related components (HeaderWithTitleLeftScrollable,TitleLeft) are being retired in favor of the sharedHeaderStackedStandard/TitleStandardpattern used elsewhere. Using one header pattern improves consistency and reduces maintenance.What changed:
HeaderWithTitleLeftwithHeaderStackedStandard(andtitleLeftProps→titleStandardProps) in:SelectHardware/index.tsx)ImportNewSecretRecoveryPhrase/index.tsx)ImportPrivateKey/index.tsx)component-library/components-temp:HeaderWithTitleLeft(andgetHeaderWithTitleLeftNavbarOptions)HeaderWithTitleLeftScrollable(and its hook / navbar helper)TitleLeftNo behavior or visual change for users; same header layout and props, different component names and implementation.
Changelog
This PR is not end-user-facing.
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2026-02-11.at.22.07.01.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Primarily a UI refactor and component cleanup; risk is limited to possible header layout/behavior regressions on the migrated screens.
Overview
Migrates several screens to the stacked-standard header pattern by replacing
HeaderWithTitleLeftwithHeaderStackedStandardand renamingtitleLeftPropstotitleStandardPropswhile preserving back/close actions and bottom-accessory subtitle content.Removes the deprecated temp components
HeaderWithTitleLeft,HeaderWithTitleLeftScrollable(including hook/navbar helpers), andTitleLeft, and updates Storybook’s auto-generated requires list plus theImportPrivateKeysnapshot to match the new header render output.Written by Cursor Bugbot for commit db99b20. This will update automatically on new commits. Configure here.