You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [CRITICAL] [UX Reliability] [Navigation] Going back from the about page seems to be pushing the settings #44478
changed the title [-]Going back from the about page seems to be pushing the settings [/-][+][CRITICAL] [UX Reliability] Going back from the about page seems to be pushing the settings [/+]on Jun 26, 2024
Both pages are central pane, so it will check if there is an about or troubleshoot page in the stack, if not found, then we replace the current page with the fallback route, in this case the settings page.
@bernhardoj There are also issues with switching the bottom tabs as you can see around 15 second in the first video. The bug report did not mention it well. Do you know what is causing that?
It won't happen anymore once we remove the fallback route. It happens because when going back from troubleshoot page, we push another bottom navigator to the stack. Navigating to another bottom tab screen will pop the extra bottom tab.
changed the title [-][HOLD for payment 2024-07-17] [CRITICAL] [UX Reliability] [Navigation] Going back from the about page seems to be pushing the settings [/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [CRITICAL] [UX Reliability] [Navigation] Going back from the about page seems to be pushing the settings [/+]on Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@dukenv0307] The PR that introduced the bug has been identified. Link to the PR:
[@dukenv0307] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@dukenv0307] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@dukenv0307] Determine if we should create a regression test for this bug.
[@dukenv0307] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@mallenexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
The PR that introduced the bug has been identified. Link to the PR: N/A
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
Determine if we should create a regression test for this bug. Yes
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression test:
First issue
Select any workspace on SearchPage
Refresh the page
Verify if the workspace switcher icon matches the selected workspace.
Second issue
Launch the app
Tap Settings
Tap About
Tap Back arrow
Verify if navigating back to the Settings works properly and the animation is correct (The about page animated from left to right)
@dukenv0307 please accept the Upwork job.
Please also provide reasoning for testr cases not needing to be created. If it's cuz it's design/edge case, we still want a test case cuz QA can run it every month.
Activity
melvin-bot commentedon Jun 26, 2024
Triggered auto assignment to @mallenexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.[-]Going back from the about page seems to be pushing the settings [/-][+][CRITICAL] [UX Reliability] Going back from the about page seems to be pushing the settings [/+]bernhardoj commentedon Jun 27, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Going back from about page push a new bottom navigator. This happens with troubleshoot page too.
What is the root cause of that problem?
In both about and troubleshoot pages, we call goBack with the settings page as the fallback route.
App/src/pages/settings/AboutPage/AboutPage.tsx
Line 138 in 9d8e7fe
App/src/pages/settings/Troubleshoot/TroubleshootPage.tsx
Line 95 in 9d8e7fe
Both pages are central pane, so it will check if there is an about or troubleshoot page in the stack, if not found, then we replace the current page with the fallback route, in this case the settings page.
App/src/libs/Navigation/Navigation.ts
Lines 237 to 241 in 9d8e7fe
Troubleshoot page doesn't have the fallback before but was added in #39230.
What changes do you think we should make in order to solve the problem?
We don't need fallback route for both pages, so remove the fallback route from both about and troubleshoot pages.
This is similar to #36050.
mountiny commentedon Jun 27, 2024
@bernhardoj There are also issues with switching the bottom tabs as you can see around 15 second in the first video. The bug report did not mention it well. Do you know what is causing that?
bernhardoj commentedon Jun 28, 2024
Do you mean this one?
a.mp4
It won't happen anymore once we remove the fallback route. It happens because when going back from troubleshoot page, we push another bottom navigator to the stack. Navigating to another bottom tab screen will pop the extra bottom tab.

WojtekBoman commentedon Jun 28, 2024
Hi! I'm working on that!
12 remaining items
[-][HOLD for payment 2024-07-17] [CRITICAL] [UX Reliability] [Navigation] Going back from the about page seems to be pushing the settings [/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [CRITICAL] [UX Reliability] [Navigation] Going back from the about page seems to be pushing the settings [/+]melvin-bot commentedon Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-07-22. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 15, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
mallenexpensify commentedon Jul 18, 2024
@dukenv0307 can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~01697f8ed31a8b4999
Can you also complete the BZ checklist above? Thx
dukenv0307 commentedon Jul 18, 2024
BugZero Checklist:
Regression test:
mallenexpensify commentedon Jul 19, 2024
@dukenv0307 please accept the Upwork job.
Please also provide reasoning for testr cases not needing to be created. If it's cuz it's design/edge case, we still want a test case cuz QA can run it every month.
dukenv0307 commentedon Jul 19, 2024
I updated the test case
dukenv0307 commentedon Jul 19, 2024
@mallenexpensify Done, thank you!
mallenexpensify commentedon Jul 20, 2024
Contributor+: @dukenv0307 paid $250 via Upwork.
TR GH
Thanks!