Fix: 23735 Web - App displays single report in LHN for some time on login with that report link#24204
Conversation
…ith that report link
|
|
||
| priorityMode: PropTypes.oneOf(_.values(CONST.PRIORITY_MODE)), | ||
|
|
||
| currentReportID: PropTypes.string, |
There was a problem hiding this comment.
Missing a code comment explaining that prop.
|
|
||
| currentReportID: PropTypes.string, | ||
|
|
||
| report: PropTypes.shape({ |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemweb.chrome.movMobile Web - Safarimweb.safari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
| {this.props.isLoading ? ( | ||
| <OptionsListSkeletonView shouldAnimate /> | ||
| <> | ||
| {this.props.report.reportID && ( |
ArekChr
left a comment
There was a problem hiding this comment.
Left small comment, overall LGTM!
|
@ArekChr Thanks for your review. I just updated the PR to use lodashGet |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.3.54-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.3.54-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.54-13 🚀
|
|
This PR caused a regression for To reproduce:
|
|
I think it's this Issue => #24573 |
|
This case was not handled in this PR. Issue: Login - LHN does not show skeleton placeholder when the page is refreshed while loading Steps to reproduce:
|
Details
Fixed Issues
$ #23735
PROPOSAL: #23735 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Screen.Recording.2023-08-07.at.16.25.35.mp4
Mobile Web - Chrome
original-C8804E1F-EC9D-41EE-B4F6-A747FE8A6654.1.mp4
Mobile Web - Safari
original-800C73EF-9325-4C28-B11A-B08F07136CF6.mp4
Desktop
Screen.Recording.2023-08-07.at.16.38.45.mp4
iOS
Screen.Recording.2023-08-07.at.17.07.32.mov
Android
logout-compressed.mov