[Fix] Automatically dismiss the migration modal in all open tabs#57649
[Fix] Automatically dismiss the migration modal in all open tabs#57649puneetlath merged 6 commits intoExpensify:mainfrom
Conversation
|
@shubham1206agra 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] |
|
@ishpaul777 Can you please fix the title of the PR as it is misleading? |
|
@puneetlath @trjExpensify Can you confirm after dismissal of |
|
And @puneetlath don't we pass |
Won't they "remain" on the Reports page then? 🤔 |
You mean search page. |
I don't think we should need to redirect anywhere when dismissing the modal. I believe the user is already redirected to the Search (now known as Reports) page before the modal is shown.
Yes, that should be happening. Is it not? |
I tried doing that. One tab using |
@ishpaul777 Can you please fix this bug? Since after dismissal, it is redirecting. |
|
i am on it ! |
|
I have spotted another bug related to migration modal on staging, When reloading the page when modal is visible, there will be multiple modal visible, I am looking for a fix if its a quick fix otherwise I'll report it in #expensify-bugs Screen.Recording.2025-03-05.at.11.47.06.PM.mov |
we need to redirect to a different base route because current route will
|
|
Then just go to search route instead of home page. |
|
@shubham1206agra i fixed that i'll report the other one in slack, can you please continue |
@puneetlath Can you look into pusher in this case please? |
|
I dont think this #57649 (comment) should be a blocker for this PR or should it ? |
Screen.Recording.2025-03-09.at.8.53.59.PM.mov@ishpaul777 The navigation seems to be broken here. Can you please check this? |
|
@shubham1206agra Can you explain what seems broken, I think staging also has the same behaviour? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeNA Android: mWeb ChromeNA iOS: NativeNA iOS: mWeb SafariNA MacOS: Chrome / SafariScreen.Recording.2025-03-10.at.8.39.59.PM.movMacOS: DesktopNA |
|
✋ 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.1.11-1 🚀
|
|
Getting error when run the script
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.12-7 🚀
|

Explanation of Change
Fixed Issues
$ #57630
PROPOSAL:
Tests
Verify that no errors appear in the JS console
Pre-requisite:
Have a Olddot account with a timestamp value in nudgeMigration (
nvp_tryNewDot.nudgeMigration.timestamp) that has not used NewDot yetExpected Result:
The migration modal should dismiss in all open tabs.
Offline tests
QA Steps
Same as test steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Screen.Recording.2025-03-03.at.1.00.27.AM.mov
Android: mWeb Chrome
Screen.Recording.2025-03-03.at.1.14.49.AM.mov
iOS: Native
Screen.Recording.2025-03-03.at.12.54.23.AM.mov
iOS: mWeb Safari
Screen.Recording.2025-03-03.at.12.51.24.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2025-03-03.at.12.32.39.AM.mov
MacOS: Desktop
Screen.Recording.2025-03-03.at.1.17.58.AM.mov