-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix LHN thread remaining pinned after deleting all messages #78897
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 LHN thread remaining pinned after deleting all messages #78897
Conversation
|
@QichenZhu 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] |
|
@carlosmiceli 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] |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
trjExpensify
left a comment
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.
I agree a thread that's being deleted without a trace because there's nothing to preserve within it should be deleted everywhere which incl. the LHN of Inbox. 👍
|
@QichenZhu, Thanks for the review, the pr is ready for your review. Please check again when you get a chance. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid-native.webmAndroid: mWeb Chromeandroid-web.webmiOS: HybridAppios-native.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safarimac-web.mov |
|
✋ 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/carlosmiceli in version: 9.2.97-0 🚀
|
|
Failing with original bug id #69415 on web |
|
🚀 Deployed to staging by https://github.com/carlosmiceli in version: 9.2.99-0 🚀
|
Explanation of Change
LHN: Unpin the thread when there is no message in the thread and the parent message is deleted.
Fixed Issues
$ #69415
PROPOSAL: #69415 (comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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
Android: Native
Screen.Recording.1404-10-16.at.3.33.40.PM.mov
Android: mWeb Chrome
Screen.Recording.1404-10-16.at.3.35.42.PM.mov
iOS: Native
Screen.Recording.1404-10-16.at.3.37.14.PM.mov
iOS: mWeb Safari
Screen.Recording.1404-10-16.at.3.39.07.PM.mov
MacOS: Chrome / Safari
Screen.Recording.1404-10-16.at.3.26.30.PM.mov