fix: redirect to proper place after upgrade#45730
fix: redirect to proper place after upgrade#45730madmax330 merged 4 commits intoExpensify:mainfrom allroundexperts:fix-45689
Conversation
|
@dukenv0307 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] |
|
I think @rushatgabhane should review this PR, right? |
|
Yep, @rushatgabhane please jump in on this one. 👀 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-25.at.19.39.47.movScreen.Recording.2024-07-25.at.19.39.40.movAndroid: mWeb ChromeMacOS: Chrome / SafariScreen.Recording.2024-07-24.at.20.42.17.movMacOS: DesktopScreen.Recording.2024-07-25.at.19.36.39.mov |
There was a problem hiding this comment.
@allroundexperts on clicking "Got it, thanks" there is no animation for closing the modal
Screen.Recording.2024-07-24.at.20.42.172.mov
@rushatgabhane I don't think this is a bug. Whenever we |
|
@madmax330 you good to review this PR today? |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.0.14-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
The animation in this video looks pretty broken after upgrading the workspace Screen.Recording.2024-07-19.at.3.44.47.AM.movDid it look like that before this PR? |
| switch (feature.id) { | ||
| case CONST.UPGRADE_FEATURE_INTRO_MAPPING.reportFields.id: | ||
| Policy.enablePolicyReportFields(policyID, true); | ||
| return Navigation.navigate(ROUTES.WORKSPACE_MORE_FEATURES.getRoute(policyID), CONST.NAVIGATION.TYPE.UP); | ||
| default: | ||
| return route.params.backTo ? Navigation.navigate(route.params.backTo, CONST.NAVIGATION.TYPE.UP) : Navigation.goBack(); |
There was a problem hiding this comment.
Why is this not simply Navigation.goBack()? Seems to work fine and fix #46450, but maybe I'm missing something 🤷
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.14-6 🚀
|


Details
This PR fixes a number of issues related to the upgrade flow.
Fixed Issues
$ #45692
$ #45689
$ #45682
$ #45884
PROPOSAL: N/A
Tests
Test 1
Test 2
Test 3
Test 4
Offline tests
N/A
QA Steps
Test 1
Test 2
Test 3
Test 4
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Android: mWeb Chrome
Screen.Recording.2024-07-19.at.3.44.47.AM.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-07-19.at.3.39.45.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-07-19.at.3.31.56.AM.mov
Screen.Recording.2024-07-19.at.3.32.11.AM.mov
MacOS: Desktop
Screen.Recording.2024-07-19.at.3.35.00.AM.mov