-
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
[Awaiting Payment 23rd April] [$500] Web-Workspace -Number of announce room members does not update when remove workspace members #39446
Comments
Triggered auto assignment to @jasperhuangg ( |
👋 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:
|
@jasperhuangg 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 |
I can reproduce this issue, the only reason it's happening is because the I don't think this needs to be a blocker, but we should update the front-end in this case to optimistically add/remove people from a workspace's default rooms when they are added/removed from the workspace. |
Triggered auto assignment to @trjExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Number of active policy members mismatch What is the root cause of that problem?When we remove member from App/src/pages/ReportDetailsPage.tsx Lines 132 to 134 in 7080295
App/src/pages/ReportDetailsPage.tsx Line 82 in 7080295
Note that if we open the members page we will see only the members which do not have a pending action against their accountID, so this bug is not related to adding data What changes do you think we should make in order to solve the problem?To resolve this, we should recalculate the length of the array by introducing a new const which will count only those accountIDs which don't have any pending action against them: const NonpendingChatMembers = report?.participantAccountIDs
?.map((accountID) => report.pendingChatMembers?.findLast((member) => member.accountID === accountID.toString()))
.filter(member => !member || member.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE);
The above condition can be further improved but basic idea remains the same
And then pass App/src/pages/ReportDetailsPage.tsx Lines 132 to 134 in 7080295
Result videosimplescreenrecorder-2024-04-04_03.14.26.mp4 |
Can you add a external label here @jasperhuangg , we don't have a C+ to review the PR :) thanks for assignment |
Job added to Upwork: https://www.upwork.com/jobs/~01758a9e58b1dd4c58 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
Thanks, PR would be ready by EOD |
PR ready for review c.c. @rayane-djouah 🍾 |
I also had one question, as this issue was created before the new payment structure :
So i was wondering if this should maintain $500? @trjExpensify ? @jasperhuangg |
@GandalfGwaihir Thanks for pointing that out, agree that it was created before the new payment structure was announced. @trjExpensify I'm gonna go ahead and update the price to $500, feel free to change it back if you disagree. |
Upwork job price has been updated to $500 |
Thanks @jasperhuangg 😄, PR is in works, i purchased new laptop so configuring it currently for all platforms, PR should get merged by Thursday. |
This hit production yesterday, automation failed, can you update the title manually @trjExpensify |
Confirming payment summary as follows:
|
@GandalfGwaihir paid! |
@trjExpensify, Offer accepted, Thanks! |
@trjExpensify, Friendly bump 😄 |
Paid! |
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: 1.4.59-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4468627&group_by=cases:section_id&group_order=asc&group_id=229065
Email or phone of affected tester (no customers): applausetester+gm156@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Number of announce room members should update when user remove workspace users
Actual Result:
Number of announce room members does not update when remove workspace members
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6435770_1712090667330.Recording__2786.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: