-
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
[CP Stag] Fix User not redirected to IOU report when logging in after deeplink #49839
[CP Stag] Fix User not redirected to IOU report when logging in after deeplink #49839
Conversation
@ikevin127 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] |
hey @ikevin127 , this is a follow up PR for the regression, I will take care of the checklist 😄 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-27.at.7.49.34.PM.movAndroid: mWeb ChromeScreen.Recording.2024-09-27.at.7.44.03.PM.moviOS: NativeScreen.Recording.2024-09-27.at.7.29.05.PM.moviOS: mWeb SafariScreen.Recording.2024-09-27.at.7.31.07.PM.movMacOS: Chrome / SafariScreen.Recording.2024-09-27.at.7.17.20.PM.movMacOS: DesktopScreen.Recording.2024-09-27.at.7.24.42.PM.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.
Tests well, hopefully shouldn't cause any other regression 🤞 , please label this as [CP Staging]
…eeplinking-v2 [CP Stag] Fix User not redirected to IOU report when logging in after deeplink (cherry picked from commit 2cdd7d5) (CP triggered by AndrewGable)
✋ 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/AndrewGable in version: 9.0.40-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.40-6 🚀
|
Details
Because of changes introduced in #49516, deeplinking logic was moved to
onCompleted
callback, I missed a case where the onboarding is eitherundefined
or an empty array (PHP layer return an empty array for older accounts). For these cases we early returned and bothonCompleted
andonNotCompleted
callbacks weren't triggered.Fixed Issues
$ #49798
PROPOSAL: N/A
Tests
Preconditions: Account with existing IOU report, IOU report URL copied and navigate to some other report
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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
Screen.Recording.2024-09-27.at.15.47.53.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.taki.SE.-.2024-09-27.at.15.26.44.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-09-27.at.14.26.01.mov