Make Troubleshoot menu available in Sign In page#57602
Make Troubleshoot menu available in Sign In page#57602stitesExpensify merged 3 commits intoExpensify:mainfrom
Conversation
e8957eb to
316a3bc
Compare
src/libs/Navigation/AppNavigator/Navigators/PublicRightModalNavigator.tsx
Outdated
Show resolved
Hide resolved
src/libs/Navigation/AppNavigator/Navigators/PublicRightModalNavigator.tsx
Show resolved
Hide resolved
4f3e5c5 to
fa7b4d2
Compare
|
@alitoshmatov Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@alitoshmatov This is a regression fix, so I'll be taking this 🙏 |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2025-03-06_14.41.09.mp4Android: mWeb Chromeandroid-chrome-2025-03-06_14.44.45.mp4iOS: Nativeios-app-2025-03-06_14.30.55.mp4iOS: mWeb Safariios-safari-2025-03-06_14.32.32.mp4MacOS: Chrome / Safaridesktop-chrome-2025-03-06_14.25.03.mp4MacOS: Desktopdesktop-app-2025-03-06_14.27.56.mp4 |
|
@OlimpiaZurek You have conflicts, otherwise looks good! |
fa7b4d2 to
0c66ea9
Compare
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.1.12-0 🚀
|
|
@OlimpiaZurek PR is failing with original #56925 as Troubleshoot menu didn't appear in signup page |
|
@izarutskaya This has only been implemented for the Web and Standalone App, not for the Hybrid App. So, this is the expected behavior: |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.12-7 🚀
|
Explanation of Change
This PR reintroduces the changes for adding the Troubleshoot menu to the sign-in page, making it accessible via CMD+D in browsers and a four-finger tap in the Standalone App.
In the previous PR, exposing
RightModalNavigatortoPublicScreenscaused an issue where the Debug Console page would open unexpectedly after closing an account.The root cause was the presence of two navigators after logout instead of one, because
RightModalNavigator, containing multiple screens, remained mounted insidePublicScreens, preserving its modal state and causing the Debug Console to reopen unexpectedly. IntroducingPublicRightModalNavigatorComponentwith only the Debug Console screen ensures proper unmounting, preventing this issue.Fixed Issues
$ #57341, #56925
PROPOSAL:
Tests
Open the App (Login Page)
Press CMD + D (Browser) or perform a four-finger tap (Mobile)
Verify that the Troubleshoot menu appears.
Check that all options in the menu are functional and correctly displayed (NOTE: Some options are unnecessary on the Sign In page, so they've been disabled)
Sign in
Navigate to Security > Close Account.
Enter an email in the email field.
Click Close Account.
Click Yes, Continue.
Verify that the Debug Console does not reopen after logout and that the user lands on the sign-in screen.
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen_Recording_20250228-100630_New.Expensify.Dev.mp4
Screen_Recording_20250228-100851_New.Expensify.Dev.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2025-02-28.at.10.11.01.mov
Screen.Recording.2025-02-28.at.10.12.10.mov
MacOS: Desktop