fix:72182: correct navigation to confirmation page after Distance upgrade#72317
Conversation
|
@neil-marcellini With this proposal we will not navigate to the route I don't see any visible effect on that but I see we are navigating above with reportID:policyChat with submit iouType but this pr is breaking that. WDYT 2025-10-10.17-41-31.mp4 |
Note in your video that the route changes to |
|
Yes, I understood that when I watched the video again. I think that passing Navigation.goBack(ROUTES.MONEY_REQUEST_STEP_CONFIRMATION.getRoute(CONST.IOU.ACTION.CREATE, CONST.IOU.TYPE.SUBMIT, transactionID, reportID), {compareParams: false});cc: @FitseTLT |
|
Here is video that i have recorded: -.-2025-10-10-.-23.39.04.mp4 |
|
But doesn't it at the same time solve the original bug? |
What do you mean? Here is video that shows that original bug is also solved: 2025-10-10.23.54.14.mov |
|
I meant to say 'does it...'. So if you are confident, make the commit and I will review it on MOnday 👍 |
|
Sure! Thank you for your answer! |
|
@FitseTLT will you still review this today? Thanks! |
Definitely @trjExpensify |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2025-10-14.00-09-39.mp4Android: mWeb Chrome2025-10-13.20-28-53.mp4iOS: HybridAppiOS: mWeb Safari2025-10-13.20-27-54.mp4MacOS: Chrome / Safari2025-10-13.20-24-06.mp4MacOS: Desktop2025-10-13.20-25-55.mp4 |
neil-marcellini
left a comment
There was a problem hiding this comment.
Great work! Thanks for catching that bug with create/submit vs create/track @FitseTLT
|
✋ 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/neil-marcellini in version: 9.2.32-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.32-6 🚀
|
Explanation of Change
Fixed Issues
$#72182
PROPOSAL:#72182 (comment)
Tests
Precondition:
Account has self DM.
Offline tests
None. This flow should not work offline.
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 stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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
72182-android-native.mp4
Android: mWeb Chrome
72182-android-web.mp4
iOS: Native
72182-ios-native.mp4
iOS: mWeb Safari
72182-ios-web.mp4
MacOS: Chrome / Safari
72182-web.mov
MacOS: Desktop
72182-desktop.mov