-
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
Hide Threads with No Comments from LHN #19375
Conversation
git command line has a bug with case renames.
Just need to update our sidebar tests to account for this change |
fixed merge conflicts, and addressed @WoLewicki's comment |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #19205... Please reach out for help on Slack if no one gets assigned! |
This comment was marked as outdated.
This comment was marked as outdated.
@mollfpr sorry, will need to submit the review again, I tried using pullerbear since @stitesExpensify is OOO |
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 🚀
Looks like there are more conflicts :( |
Fixed conflicts |
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!
Testing well too. 🚢 |
✋ 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/stitesExpensify in version: 1.3.35-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.35-5 🚀
|
1 similar comment
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.35-5 🚀
|
@@ -1950,6 +1950,11 @@ function shouldReportBeInOptionList(report, currentReportId, isInGSDMode, iouRep | |||
return false; | |||
} | |||
|
|||
// Hide thread reports that haven't been commented on | |||
if (isThread(report) && !report.lastMessageText) { |
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.
Hi, this PR caused bug - "Deleted message" chat appears in chat list for pinned deleted threads
More details here - #22950 (comment)
Details
Empty Threads should not be in the LHN
Along with these changes, I renamed
withCurrentReportId
towithCurrentReportID
to follow our naming conventions for acronyms.Fixed Issues
$ #19205
Tests
WEB/DESKTOP LARGE SCREEN:
MOBILE / SMALL SCREEN:
Offline tests
QA Steps
WEB/DESKTOP LARGE SCREEN:
MOBILE / SMALL SCREEN:
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-06-19.at.5.15.42.PM.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
Screen.Recording.2023-06-19.at.5.25.37.PM.mov
iOS
Android