Fix upgrade success page doesn't show after upgrade#75152
Conversation
|
@jayeshmangwani 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] |
| route: 'travel/upgrade/workspace/confirmation', | ||
|
|
||
| // eslint-disable-next-line no-restricted-syntax -- Legacy route generation | ||
| getRoute: (backTo?: string) => getUrlWithBackToParam(`travel/upgrade/workspace/confirmation`, backTo), |
There was a problem hiding this comment.
For my understanding, why does the travel upgrade page need to have a backTo param? Could we instead address this by removing it from there?
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid.movAndroid: mWeb Chromemweb-chrome.moviOS: HybridAppiOS.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
@puneetlath , tagging you manually here for review, since the automation didn’t request it. |
| [SCREENS.TRAVEL.WORKSPACE_CONFIRMATION]: undefined; | ||
| [SCREENS.TRAVEL.WORKSPACE_CONFIRMATION]: { | ||
| // eslint-disable-next-line no-restricted-syntax -- `backTo` usages in this file are legacy. Do not add new `backTo` params to screens. See contributingGuides/NAVIGATION.md | ||
| backTo?: Routes; |
There was a problem hiding this comment.
Why do we need to add this?
| route: 'travel/upgrade/workspace/confirmation', | ||
|
|
||
| // eslint-disable-next-line no-restricted-syntax -- Legacy route generation | ||
| getRoute: (backTo?: string) => getUrlWithBackToParam(`travel/upgrade/workspace/confirmation`, backTo), |
There was a problem hiding this comment.
For my understanding, why does the travel upgrade page need to have a backTo param? Could we instead address this by removing it from there?
|
@puneetlath the book travel can be accessed from the travel page (Accessed from FAB) We need the |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Changes look good from a product spec perspective.
|
Ok, I see. I guess since it's fixing an existing case, not adding a new one, that's ok for now. |
|
✋ 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/puneetlath in version: 9.2.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.62-5 🚀
|




Explanation of Change
Fixed Issues
$ #75038
$ #73396
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Web/Desktop/mWeb only
Prerequisite:
use a private domain account without a workspace
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
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4