[CP Staging] Fix default chat report view not loading upon signin#45224
[CP Staging] Fix default chat report view not loading upon signin#45224srikarparsi merged 1 commit intomainfrom
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 |
rayane-d
left a comment
There was a problem hiding this comment.
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-addinglastAccessedReportIDas 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 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
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