-
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
[$500] Public room can't be seen on LHN after opening it from a link #30615
Comments
Job added to Upwork: https://www.upwork.com/jobs/~010cd18e947fb2a8d5 |
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.If the current chat is a public room, it should show in the left hand nav. What is the root cause of that problem?Public rooms were removed from the left hand nav in a recent PR: What changes do you think we should make in order to solve the problem?Revert to fix (tested locally, works). What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
@jliexpensify left hand nav is there, but the public channel currently being viewed isn’t in the list. |
Ah sorry, my mistake - thanks @erquhart! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Public room can't be seen on LHN after opening it from a link What is the root cause of that problem?BE returns And then this report is excluded in LHN by this condition Lines 3278 to 3282 in deb267f
What changes do you think we should make in order to solve the problem?
Lines 3278 to 3282 in deb267f
What alternative solutions did you explore? (Optional) |
Asked @jasperhuangg for their opinion. |
@thesahindia I can't seem to find your comment, do you mind linking it again? |
So it's actually expected that the participantAccountIDs are empty if you're not a member of the workspace that the public room is a part of. This is because of privacy concerns. So no BE fixes are needed here. |
We just need to update the condition here to be the following. I forgot to take into account public announce rooms in my PR. report.participantAccountIDs.length === 0 &&
!isChatThread(report) &&
!isUserCreatedPolicyRoom(report) &&
!isPublicRoom(report) &&
!isArchivedRoom(report) &&
!isMoneyRequestReport(report) && I think @erquhart's proposal was the closest to this (but we definitely shouldn't be reverting that entire PR). If you're willing to get another proposal up explaining why this works then I'd be happy to accept it. |
@jasperhuangg that's what my existing proposal is, I just didn't check to see what else that PR had. When I say to revert, I only meant reverting the exclusion of the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Public rooms opened via link aren't showing in the left hand nav. What is the root cause of that problem?Reports with a Lines 411 to 413 in 1700ecf
This was removed with - based on the PR conversation from #27966 - the understanding that public rooms were expected to be included in What changes do you think we should make in order to solve the problem?Re-add the Lines 3277 to 3283 in deb267f
What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Actually @dukenv0307 suggested two solutions and their second solution was to add 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Got it, since @dukenv0307 had a clearer proposal and was more in line with what I was thinking, let's assign them. cc @neil-marcellini |
📣 @thesahindia Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Cool, I agree that the proposal from @dukenv0307 looks good. |
@thesahindia The PR is ready for review. |
Hrrrm what happened with the updater here? It looks like this hit production 2 weeks ago right? If so, I should be paying + the checklist should be worked on, right? |
Yes, seems like bot not work on this issue. |
If we are going off #30814, here's the Payment Summary:
is this all correct? @thesahindia could you complete the checklist too? |
Paid and job closed. Waiting on checklist to be completed! |
As mentioned in #30615 (comment), this case wasn't taken into account. We can add a test case -
|
$750 payment approved for @thesahindia based on this comment. |
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: 1.3.93-0
**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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal team
Slack conversation:
Action Performed:
Expected Result:
The public room should be displayed
Actual Result:
The public room can't be seen on LHN
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
Window: Chrome
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: