-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: redirect to proper place after upgrade #45730
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 🚀
|
fix: redirect to proper place after upgrade
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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