-
Notifications
You must be signed in to change notification settings - Fork 3k
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: parent thread disappears in LHN when deleting the thread first chat #27410
Conversation
@narefyev91 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] |
… first chat" This reverts commit f5cee4e.
@dukenv0307 seems something happened after merging main - you got 79 file changes.... |
@narefyev91 sorry I just pushed the wrong code, let me try to revert it. Will ping back when it ready |
@narefyev91 Please help review the PR again |
@dukenv0307 issue seems not fixed on android WEB Screen.Recording.2023-09-15.at.12.35.19.movsecond 0.51 - we have 2 items in left menu which related to current flow When we remove 2 thread - 1.34 timing - we still see 2 items - deleted and main one - but we do not see first thread If we open again all threads one by one - and go back (2.08) - we will see 3 of them as expected |
Same issue on desktop Screen.Recording.2023-09-15.at.12.51.03.mov |
And also not working on native apps - if after removing item - you will click go back and not clicking on header to navigation to next screen |
@narefyev91 Report number 1 ( which has a heart icon ) is moved to the bottom when we delete the thread Please check this video Screen.Recording.2023-09-15.at.18.01.50.mp4 |
@dukenv0307 i see - but should it be automatically not moved to the end? maybe this is an issue too - because user expect to the all items related to conversion closely to each other. And when we move again to the same thread - it will appear in the correct place |
@narefyev91 We sorted the report in LHN here by Line 158 in 01c5b71
|
Yup - but why does web working as expected in this situation? With code fix - web starts working as needed - but we have issues with other platforms... |
@narefyev91 No, it works the same with other platforms, you can see in the web video in the PR the thread that has no action is moved to the end after we delete the thread first chat. Because your account has many reports in LHN and it has been moved to the end, you cannot see them in LHN. And I belive it only happens when we delete the last message of the report. |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromeandroid-web.movMobile Web - Safariios-web.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
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.
Now nothing is disappeared. Deleted charts move to end of the LHN list. If that we expecting than
LGTM
🎀 👀 🎀 C+ reviewed
Yep, moving the thread lower is fine |
✋ 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/Julesssss in version: 1.3.72-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.72-11 🚀
|
Details
Parent thread disappears in LHN when deleting the thread first chat
Fixed Issues
$ #26791
PROPOSAL: #26791 (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
web.mov
Mobile Web - Chrome
chrome.2.mp4
Mobile Web - Safari
safari.1.mp4
Desktop
desktop.mov
iOS
ios.1.mp4
Android
android.4.mp4