-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to OD - Background changes to Profile after proceeding to "Before you go" page #48295
Comments
Triggered auto assignment to @VictoriaExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Background changes to Profile after proceeding to "Before you go" page What is the root cause of that problem?We are adding these pages in profile root App/src/libs/Navigation/linkingConfig/CENTRAL_PANE_TO_RHP_MAPPING.ts Lines 22 to 24 in 9ddca5c
What changes do you think we should make in order to solve the problem?We can remove these pages from profile root App/src/libs/Navigation/linkingConfig/CENTRAL_PANE_TO_RHP_MAPPING.ts Lines 22 to 24 in 9ddca5c
What alternative solutions did you explore? (Optional) |
I think this is expected #47115 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The screen below the overlay changes to profile when go to switch to OD response page. What is the root cause of that problem?The survey page (reason, response, and confirm) mapped to the profile page.
So, when we open those pages, the matching root will be the profile page.
It doesn't happen on the reason page (the 1st page) because somehow the state here is undefined. App/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts Lines 38 to 41 in 9e82ed8
Switch to OD page can be accessed from many pages, not just profiles, so always mapping it to the profile page isn't eniterly correct. What changes do you think we should make in order to solve the problem?To fix this, we can add a App/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts Lines 112 to 116 in 9e82ed8
Steps:
App/src/pages/settings/ExitSurvey/ExitSurveyResponsePage.tsx Lines 64 to 66 in 9e82ed8
The reason for that is we want to close the page when offline instead of going back to the prev page. Instead of modifying the For response page
For confirm page
Central pane isn't a navigator anymore, so it doesn't have the state just like other navigator (RHP, full screen) that contains the child screens. To fix this, we can check for |
@VictoriaExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I need to double-check the expected behaviour as @Nodebrute has mentioned here |
I agree that this is expected, and I think it's way to minor to worry about at this point - it does not have any impact on the user experience from what I can see. I'm going to close this out. |
@VictoriaExpensify hi, I don't agree that it's expected. In #47115, the issue is that, after refreshing, the report screen is shown and the step performed specifically done from the profile page (open the switch to expensify while on the profile page) while in this issue, we open the switch to expensify while on other pages and expect the page to not change to profile. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.26-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The background will remain in Workspaces page
Actual Result:
The background changes to Profile after proceeding to "Before you go" page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6586681_1724942316594.20240829_223508.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: