-
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
[HOLD for payment 2024-07-24] Thread - LHN displays "removed 1 user" instead of "left the chat" after leaving thread #44610
Comments
Triggered auto assignment to @sonialiap ( |
We think this issue might be related to the #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue.The LHN shows removed 1 user instead of left the chat when leaving a thread. What is the root cause of that problem?Leaving a thread will add a LEAVEROOM action from the BE response. And that's considered as a room change log action. Lines 351 to 375 in 4622e19
Because the action is not an invited action, the removed message is being used. What changes do you think we should make in order to solve the problem?We can make sure the room change log condition is only true if it's not a thread. This way, the last message of the thread report will be used, that is, What alternative solutions did you explore? (Optional)We can improve the room change log message by adding the case for the leave room that returns |
ProposalPlease re-state the problem that we are trying to solve in this issue.Thread in LHN displays "removed 1 user" after leaving thread. What is the root cause of that problem?In the past, we moved to this case if the report action is invite or removed action. See the diff here for more details. Now, we use What changes do you think we should make in order to solve the problem?We should create a new function like
And then use this function here to update the condition correctly What alternative solutions did you explore? (Optional) |
@sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
This comment was marked as outdated.
This comment was marked as outdated.
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@eh2077 Please see the diff, in the past we check if the action is invited or removed action for room or policy, we will move to this case and display in LHN as But For the Line 374 in 55546bb
|
@dominictb Thanks for pointing out that! Yes, I agreed with you - we should fix the issue by checking [
CONST.REPORT.ACTIONS.TYPE.ROOM_CHANGE_LOG.INVITE_TO_ROOM,
CONST.REPORT.ACTIONS.TYPE.ROOM_CHANGE_LOG.REMOVE_FROM_ROOM,
CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.INVITE_TO_ROOM,
CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.REMOVE_FROM_ROOM
] in method That's said, I think we should go with @dominictb 's proposal. @arosiclair All yours. 🎀👀🎀 C+ reviewed Sorry for the back and forth! |
Current assignee @arosiclair is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@dominictb how should we update this exactly? I don't see where |
@arosiclair In the past we also didn't have the special case for |
Gotcha sounds like the default text will work. Please move forward with the PR |
@arosiclair, @sonialiap, @eh2077, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR will be ready by today |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-24. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment summary:
https://www.upwork.com/ab/applicants/1816054414293401460/job-details |
Payment Summary
BugZero Checklist (@sonialiap)
|
@arosiclair, @sonialiap, @eh2077, @dominictb Huh... This is 4 days overdue. Who can take care of this? |
Checklist
|
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0-3.1
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
Thread in LHN will display "left the chat".
Actual Result:
Thread in LHN displays "removed 1 user" after leaving thread.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6527092_1719558928457.20240628_151205.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @eh2077The text was updated successfully, but these errors were encountered: