-
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 Miro][HOLD for payment 2023-07-28] [$1000] Web - user is navigated to thread when clicking on “Go to #admins” or "Go to #announce room" in the workspace settings #21961
Comments
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
The attached video relates to a different issue. |
@samh-nl Thank you for pointing that out Go-to-room-issue.mov.mov |
The issue still persists with 2 of my 3 workspaces, If someone is having trouble reproducing it, please pm me, so I will share my secondary login. It will help you investigate the issue easier! |
ProposalPlease re-state the problem that we are trying to solve in this issue.In workspace information, user is taken to sub-sub thread/replies when clicking on “Go to #admins room” or "Go to #announce room". What is the root cause of that problem?If user click on “Go to #admins room” or "Go to #announce room", App/src/pages/workspace/WorkspaceInitialPage.js Lines 105 to 111 in c0ece67
If a user creates a thread on the workspace, the thread has a CONST.REPORT.CHAT_TYPE.POLICY_ADMINS chatType , and policyID is equal to workspace's policyID .So the thread is selected, and user is taken to the thread. What changes do you think we should make in order to solve the problem?We should select correct workspace room in What alternative solutions did you explore? (Optional)None. |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
The video in the OP is not related to this bug btw, switching it out for one from the slack thread. I can reproduce this one. The prerequisite is that the default room contains a threadReport, so I've also updated the OP to reflect that: Y7OMAWq13U.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~01916b494f3ed66140 |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
@0xmiroslav - what do you think of this proposal? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - user is navigated to thread when clicking on “Go to #admins” or "Go to #announce room" in the workspace settings What is the root cause of that problem?When we are calling What changes do you think we should make in order to solve the problem?Solution 1 we have a utility function Line 578 in 60f4817
We can use it to verify if it's !isWorkspaceThread change goToRoom From this
to this
Don't forget to export the function. Currently, we are using this function inside the ReportUtils, which is why it has not been exported yet. Currently all of them will return true if it's a workspace thread because Workspace Threads will also have the same chat type as their parent room. We can fix them and use isDefaultRoom to check if it's a default room. What alternative solutions did you explore? (Optional)We can simply use isThread utility function to check if it's the thread |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.43-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 2023-07-28. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
👋 @0xmiroslav can you get to the checklist please? :) |
Regression Test Proposal
|
Thanks! Looks like Applause added a test case for this on July 3rd (link you won't be able to access), so we should be good there! |
Proceeding with the payments due. I have those calculated as follows: @tranvantoan-qn - $250 for the bug report (offer sent) |
@tranvantoan-qn paid! |
@trjExpensify can you please hold my payment until further notice? I am working on some stuff due to recent measurements in my region. And update issue to Monthly. Thanks |
Sure thing! |
@0xmiroslav what's the deal here now to issue payment? |
Still in discussion. Waiting for confirmation in email thread |
Okay, sounds good. Let me know here once resolved! |
@0xmiroslav, I'm going to close these! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Prerequisites:
Expected Result:
User should be taken to the #admins or #announce room
Actual Result:
If the room contains a thread, the user is navigated to the threadReport in the room.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.33-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Go-to-room-issue.mov.mov
Expensify/Expensify Issue URL:
Issue reported by: @tranvantoan-qn
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688019228481189
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: