feat(settings): cp-7.66.0 add feature flag to toggle between Account Menu and legacy Settings#26032
Merged
vinnyhoward merged 2 commits intomainfrom Feb 13, 2026
Merged
Conversation
Contributor
|
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. |
vinnyhoward
commented
Feb 12, 2026
| name={Routes.ACCOUNTS_MENU_VIEW} | ||
| component={AccountsMenu} | ||
| options={{ headerShown: false }} | ||
| /> |
Contributor
Author
There was a problem hiding this comment.
The diff for this file appears large (~160 lines) but the actual functional changes are minimal. The bulk of the diff is due to re-indenting the SettingsFlow component when changing from implicit return () => (...) to explicit return () => { return (...) } (needed to add the feature flag hook).
Member
Contributor
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - skip-smart-e2e-selection label found All E2E tests pre-selected. |
|
brianacnguyen
approved these changes
Feb 12, 2026
gantunesr
approved these changes
Feb 12, 2026
cortisiko
approved these changes
Feb 12, 2026
wachunei
approved these changes
Feb 13, 2026
FrederikBolding
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This PR introduces the
mobileUxAccountMenufeature flag to enable gradual rollout of the Account Menu feature. Originally we wanted to ship for this RC as is in this PR but we found some UI refinements were needed. The feature is being moved behind a feature flag and be hidden from this current RC and to allow for final design refinements for the next RC.Why is this change required?
The Account Menu feature requires additional refinements before full release. A feature flag allows us to:
What does this PR do?
Adds
selectAccountMenuEnabledselector anduseAccountMenuEnabledhook using themobileUxAccountMenuremote feature flagAccountsMenuView, disabled → legacySettingsSecuritySettingswhen Account Menu is enabledChangelog
CHANGELOG entry: Added feature flag mobileUxAccountMenu to control Account Menu rollout
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TMCU-397
Manual testing steps
Screenshots/Recordings
Feature Flag Off
ff_off.mov
Feature Flag On
ff_on.mov
Before
~After
~Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Touches primary navigation paths into Settings and conditionally hides/redirects multiple Settings entries based on a remote flag, so misconfiguration or routing mismatches could strand users or break test flows.
Overview
Adds a new remote, version-gated feature flag (
mobileUxAccountMenu) viaselectAccountMenuEnabled+useAccountMenuEnabled, and wires it into navigation so the Settings tab/flow can start at eitherAccountsMenu(flag on) or the legacySettingsscreen (flag off).Updates the legacy Settings/Security UI to avoid duplicate entry points when the account menu is enabled (e.g., hides Permissions/Contacts/About/feedback/help/lock entries in
Settings, and hides the SDK connections section inSecuritySettings), while adding the missing legacy actions (open support/feature request webviews and lock flow).Expands unit tests and snapshots to cover both flag states, and adjusts Detox smoke tests/page objects to navigate to Settings/Contacts without relying on the Account Menu screens.
Written by Cursor Bugbot for commit ad08c93. This will update automatically on new commits. Configure here.