-
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-06-20] Group chat - Member amount is 0 when creating group chat offline #43042
Comments
Triggered auto assignment to @aldo-expensify ( |
👋 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:
|
@aldo-expensify 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Group chat - Member amount is 0 when creating group chat offline What is the root cause of that problem?There is an extra App/src/pages/ReportDetailsPage.tsx Lines 94 to 101 in 1865aa8
What changes do you think we should make in order to solve the problem?Change it to this:
We don't need the check for isGroupChat, |
@aldo-expensify Since this is a blocker, I can open a PR quickly. Can you have a look at the above proposal? It is caused by #41290. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Member amount is 0 when creating group chat offline What is the root cause of that problem?Regression caused by this PR #41290. If it's not a systemChat we are filtering out all the members. The purpose of this change was to filter current user from members list if it's a system chat App/src/pages/ReportDetailsPage.tsx Line 97 in 1865aa8
What changes do you think we should make in order to solve the problem?This was added to filter out current user from members list. But with this is also removing current user from group's members list too App/src/pages/ReportDetailsPage.tsx Line 97 in 1865aa8
So removing just
What alternative solutions did you explore? (Optional)We don't show members page if it's a system report App/src/pages/ReportDetailsPage.tsx Line 154 in 1865aa8
We can remover filtering logic here
|
ProposalUpdated to add full function code. |
Alternative solution added |
ProposalUpdated to add few more details. |
@francoisl I agree with @ShridharGoel on that this seems to have been cause by this change: What do you think of the proposed solution: |
cc @NikkiWines ^ |
I don't think we should change to use |
@aldo-expensify You can check my proposal here #43042 (comment) |
Yep, that sounds like the easiest best fix. About the alternative solution, it does make sense to me, but I'm not 100% that there won't be regressions since the |
@aldo-expensify You can assign this to me. I'll raise a PR with my main solution. |
Triggered auto assignment to @sonialiap ( |
no longer a deploy blocker, has been fixed. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 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-06-18. 🎊 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 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-06-20. 🎊 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:
|
Payment Summary
BugZero Checklist (@sonialiap)
|
@ShridharGoel please accept the offer and complete the checklist steps in which you are tagged |
@ShridharGoel please accept the offer. I've also sent you a message in Upwork in case you see that first |
Accepted, thanks. |
@ShridharGoel please complete the checklist |
@sonialiap I think that would be handled by @aldo-expensify. |
@ShridharGoel melvin assigned you to the regression part of the checklist |
This issue has not been updated in over 15 days. @sonialiap, @ShridharGoel, @aldo-expensify eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Looks like no additional test is needed, if we already have a test to check the member count when offline. |
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.4-79-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Members will show the correct number of group members
Actual Result:
Members show 0 when there are some group members
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6501741_1717515811787.zero_mem.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @ShridharGoelThe text was updated successfully, but these errors were encountered: