-
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
[HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] [$125] Workspace - Workspace chat reappears in LHN after leaving the chat and relogin #44237
Comments
Triggered auto assignment to @JmillsExpensify ( |
Triggered auto assignment to @mountiny ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@JmillsExpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
@izarutskaya in this case, is it the user leaving their own workspace chat? I dont think that should be possible |
Job added to Upwork: https://www.upwork.com/jobs/~01c734d656ba4811ea |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
Upwork job price has been updated to $125 |
Marking as external. The expected behaviour is that the |
ProposalPlease re-state the problem that we are trying to solve in this issue.User can leave from their own workspace chat. What is the root cause of that problem?In #43251, we add the leave button for the workspace chat too if it's not the workspace admin. App/src/pages/ReportDetailsPage.tsx Line 220 in d7db203
I believe this is because we are now able to invite users to the workspace chat, so it makes sense for the invited user to be able to leave, but not for the workspace chat owner. What changes do you think we shouldPrevent the leave button from showing if it's an own workspace chat.
|
Hello. Issue still happens another way. Fail or new issue? -423736081570707755520240625_002948.1.MP4 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.1-19 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-02. 🎊 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:
|
I was able to reproduce #44237 (comment), it looks like when a member leave workspace chat API throws error cc @mountiny |
@ishpaul777 you should not get the leave button in the report details, so then you should not be able to leave the chat. How come its still visible for the workspace chat you own? |
Its not a workspace chat user own but a chat user is invited to. |
Oh I see, i think that would be a new issue. @izarutskaya Can you please log this with the specific steps, ie its user that is invited and they are not able to leave the chat afterwards I think we are calling wrong api command, it should call LeaveRoom or something like that |
@mountiny I will leave a link when it is ready |
Cool thanks, I think that is ready for payment then $125 to @bernhardoj and to @ishpaul777 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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-10. 🎊 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:
|
Issuing payments based on Vit's payment summary above. Do we need a regression test for this though? |
Also @bernhardoj will you be requesting via NewDot? |
@JmillsExpensify yes, requested in ND. |
$125 approved for @bernhardoj |
Closing this one out! Contributors have been approved for payment via ND and Upwork. |
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.1-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition:
Expected Result:
Users cannot leave workspace chat. That is the chat where they are in the employee role
Actual Result:
The workspace chat reappears in LHN after leaving the chat and relogin.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6522629_1719216943415.20240624_161246.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: