Closed IuliiaHerets closed 1 week ago
Triggered auto assignment to @VictoriaExpensify (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.
@VictoriaExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Logging in on a narrow window and then enlarging it to a non-narrow window dismisses the onboarding modal
When we login in the narrow view, the routes
in state
only have BottomTabNavigator
and OnboardingModalNavigator
and when we enlarge it we find the template state from the path
https://github.com/Expensify/App/blob/bbe7d3814151d27b2f0ee7bae5e6e17d0e670d1f/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts#L59
and here REPORT
screen is added to the template state
https://github.com/Expensify/App/blob/56033cbee88f70308f7580c1d730e190797f9f41/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts#L240-L242
We extract the central pane from the template state and insert it into state
if there is no top most central pane route in it
https://github.com/Expensify/App/blob/bbe7d3814151d27b2f0ee7bae5e6e17d0e670d1f/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts#L74-L88
and we insert it before modalRoutes
https://github.com/Expensify/App/blob/bbe7d3814151d27b2f0ee7bae5e6e17d0e670d1f/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts#L26
but here
https://github.com/Expensify/App/blob/bbe7d3814151d27b2f0ee7bae5e6e17d0e670d1f/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts#L19-L20
only Left and Right Modal Navigators are included in the modal routes and Onboarding Navigator is not so it is moved to an index before the REPORT
route.
So, the order of navigators will become BottomTabNavigator > Onboarding Navigator > Report and the Onboarding Modal gets dismissed.
Exclude and include the NAVIGATORS.ONBOARDING_MODAL_NAVIGATOR
in these two lines respectively.
https://github.com/Expensify/App/blob/bbe7d3814151d27b2f0ee7bae5e6e17d0e670d1f/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts#L19-L20
Recreated the issue and I agree that this seem like a problem we should fix
It doesn't look like this is being resolved elsewhere
Job added to Upwork: https://www.upwork.com/jobs/~021834487171313044824
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (External
)
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
π£ @jjcoffee π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @c3024 π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
Deployed to production on 18-Sep. Payment due on 25-Sep.
Regression Test Proposal
Do we agree π or π
@VictoriaExpensify This one's due payment now as it was deployed last week.
Payment summary: Contributor: @c3024 paid $250 via Upwork Contributor+: @jjcoffee paid $250 via Upwork Upwork job
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: v9.0.31-4 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): dave0123seife@gmail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Resizing the of window does not dismisses the onboarding modal
Actual Result:
Resizing the of window dismisses the onboarding modal
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/3f521fd2-0dbf-486b-b417-9d2acf48fec9
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jjcoffee