chore: consolidate navigation style - web3auth team#25882
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 change is isolated to the onboarding flow and is a straightforward navigation fix. The unit tests have been properly updated to reflect the change, providing adequate coverage for this modification. No E2E tags are needed as this is a low-risk, well-tested navigation refactoring. Performance Test Selection: |
|



Description
This PR consolidates navigation styles across the codebase by replacing inline
navigationOptionsstyle definitions with the sharedgetNavigationOptionsTitleutility function.Reason for change:
navigationOptionspatternSolution:
getNavigationOptionsTitlefunction fromapp/components/UI/NavbarChangelog
CHANGELOG entry: null
Related issues
Fixes: #23765 Part of React Navigation v6 upgrade preparation (split from original PR for easier code review by team)
Manual testing steps
Feature: Navigation header consistency
Scenario: User navigates to screens affected by this PR
Given the app is running
Screenshots/Recordings
Before
N/A - No visual changes
After
N/A - No visual changes
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Small but user-facing change to navigation routing; risk is limited to potentially breaking the onboarding success-to-default-settings transition if route nesting assumptions differ.
Overview
Updates the Onboarding Success "Manage default settings" action to navigate directly to
Routes.ONBOARDING.DEFAULT_SETTINGSinstead of navigating via the nestedRoutes.ONBOARDING.SUCCESS_FLOWstack.Adjusts the corresponding test expectation to match the new navigation call signature.
Written by Cursor Bugbot for commit 7382491. This will update automatically on new commits. Configure here.