-
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 Staging] Fix default chat report view not loading upon signin #45224
Conversation
@mkhutornyi 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-11.at.1.19.00.AM.movScreen.Recording.2024-07-11.at.1.26.17.AM.movAndroid: mWeb ChromeScreen.Recording.2024-07-11.at.1.17.05.AM.movScreen.Recording.2024-07-11.at.1.27.27.AM.moviOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-07-11.at.01.11.48.mp4Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-07-11.at.01.30.51.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-07-11.at.01.11.06.mp4Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-07-11.at.01.29.08.mp4MacOS: Chrome / SafariScreen.Recording.2024-07-11.at.1.07.04.AM.movScreen.Recording.2024-07-11.at.1.32.02.AM.movMacOS: DesktopScreen.Recording.2024-07-11.at.1.09.44.AM.movScreen.Recording.2024-07-11.at.1.25.11.AM.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.
Thank you!
Changes look good to me and test well. The reviewer checklist is also complete.
🎀👀🎀 C+ reviewed
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[CP Staging] Fix default chat report view not loading upon signin (cherry picked from commit 63e9e7b)
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
Details
This is a partial revert of this change from #44955. As far as I can tell, reports aren't necessarily loaded when the effect first runs, so we always return early in the
if (!lastAccessedReportID) { }
block. By re-addinglastAccessedReportID
as a dependency, we rerun the effect when it changes, and end up navigating to the report correctly.Fixed Issues
$ #45212
Tests / QA
Offline tests
N/A, sign-in flow so requires being online.
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
MacOS: Chrome / Safari
Screen.Recording.2024-07-10.at.4.39.08.PM.mov
Screen.Recording.2024-07-10.at.4.38.34.PM.mov