-
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-11-29] [$250] Workspace - User is navigate to thread message when going to #announce room #51820
Comments
Triggered auto assignment to @garrettmknight ( |
@garrettmknight FYI 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 |
Edited by proposal-police: This proposal was edited at 2024-10-31 17:34:21 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.User is navigate to thread message when going to #announce room What is the root cause of that problem?This issue occurs not only with the #announce room but also with the #admins room. This happens because the threads created in these rooms also have a chatType of adminroom, and in this switch statement, we’re checking specifically for chatType. App/src/pages/workspace/WorkspacesListPage.tsx Lines 283 to 294 in 6463c2b
What changes do you think we should make in order to solve the problem?We should early return if report has
Alternatively, we can also use What alternative solutions did you explore? (Optional)Alternatively, instead of using chatType in the switch statement, we could use reportName, as these room names are only used for workspace rooms. pseudo-code
|
Job added to Upwork: https://www.upwork.com/jobs/~021852040470527704127 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
we first search for it in the reports data. If no valid report is found, we then fall back on the chatReportIDAnnounce data associated with each policy.
App/src/pages/workspace/WorkspacesListPage.tsx Lines 288 to 290 in 6463c2b
when in fact, the announce room’s thread also has As a result, the value assigned to What changes do you think we should make in order to solve the problem?
can be:
What alternative solutions did you explore? (Optional)
|
@garrettmknight, @eVoloshchak Eep! 4 days overdue now. Issues have feelings too... |
@eVoloshchak can you please review this proposal? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@eVoloshchak Hey, the Line 1192 in b821068
So, I don't think selecting a proposal that relies on a utility function with the same logic as my solution is fair. Also, I was the first to provide the correct solution and root cause analysis. As far as I know, that proposal should be significantly different from the previous ones, but I don’t see any real difference here.
cc: @mountiny |
📣 @Nodebrute 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I agree, I think @Nodebrute already nailed it and it was first, also noted its valid issue for admins room too, can you fix it there too? |
@mountiny Thank you so much! My solution will fix it for both rooms. |
@Nodebrute, we are also working on a new process which will require adding unit tests for each bug fix to increase the chances of this issue not getting re-introduced. Can you also add unit tests to cover this case please? |
Yes, sure. PR will be ready in few hours. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.65-5 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-11-29. 🎊 For reference, here are some details about the assignees on this issue:
|
@eVoloshchak @garrettmknight @eVoloshchak The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@eVoloshchak can you please complete the checklist here? Thanks! |
@garrettmknight, @eVoloshchak, @mountiny, @Nodebrute Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@eVoloshchak bump on the checklist. @Nodebrute just paid you out. |
@eVoloshchak bump on the checklist. |
@garrettmknight, @eVoloshchak, @mountiny, @Nodebrute Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment Summary:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.56-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
User is navigated to #announce room main page
Actual Result:
User is navigated to #announce room thread message page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6651209_1730386216675.Screen_Recording_2024-10-31_at_5.40.25_in_the_afternoon.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eVoloshchakThe text was updated successfully, but these errors were encountered: