-
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: 23735 Web - App displays single report in LHN for some time on login with that report link #24204
Conversation
…ith that report link
@@ -59,6 +62,12 @@ const propTypes = { | |||
|
|||
priorityMode: PropTypes.oneOf(_.values(CONST.PRIORITY_MODE)), | |||
|
|||
currentReportID: PropTypes.string, |
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.
Missing a code comment explaining that prop.
@@ -59,6 +62,12 @@ const propTypes = { | |||
|
|||
priorityMode: PropTypes.oneOf(_.values(CONST.PRIORITY_MODE)), | |||
|
|||
currentReportID: PropTypes.string, | |||
|
|||
report: PropTypes.shape({ |
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.
Same here
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemweb.chrome.movMobile Web - Safarimweb.safari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
@@ -213,14 +229,24 @@ class SidebarLinks extends React.PureComponent { | |||
</PressableWithoutFeedback> | |||
</View> | |||
{this.props.isLoading ? ( | |||
<OptionsListSkeletonView shouldAnimate /> | |||
<> | |||
{this.props.report.reportID && ( |
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.
Use lodashGet for reportID
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.
Left small comment, overall LGTM!
@ArekChr Thanks for your review. I just updated the PR to use lodashGet |
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!
✋ 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 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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
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