You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-10-22] [$250] mWeb - Chat - The welcome group message doesn't update when a user is removed #49933
Version Number: 9.0.41 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Please re-state the problem that we are trying to solve in this issue.
The group welcome text doesn't immediately update its members/participant.
What is the root cause of that problem?
When we remove participant from the group, we don't immediately remove it from participants, but rather put it in pendingChatMembers list. After the request is success, the member will be removed.
Currently, we show the list of the participants from the participants without filtering the pending delete members.
changed the title [-]mWeb - Chat - The welcome group message doesn't update when a user is removed[/-][+][$250] mWeb - Chat - The welcome group message doesn't update when a user is removed[/+]on Oct 2, 2024
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: No need
Determine if we should create a regression test for this bug. Straightforward fix, no need
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:
[@alitoshmatov] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: No need
[@alitoshmatov] Determine if we should create a regression test for this bug.: Straightforward fix, no need
[@alitoshmatov] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. : no need for regression test
[@sonialiap] Link the GH issue for creating/updating the regression test once above steps have been agreed upon: no need for regression test
Activity
melvin-bot commentedon Sep 30, 2024
Triggered auto assignment to @sonialiap (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.bernhardoj commentedon Sep 30, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The group welcome text doesn't immediately update its members/participant.
What is the root cause of that problem?
When we remove participant from the group, we don't immediately remove it from
participants, but rather put it inpendingChatMemberslist. After the request is success, the member will be removed.Currently, we show the list of the participants from the
participantswithout filtering the pending delete members.App/src/components/ReportWelcomeText.tsx
Line 43 in e84dab7
App/src/libs/ReportUtils.ts
Lines 2110 to 2112 in e84dab7
So, the text will still shows the pending delete member for a while.
What changes do you think we should make in order to solve the problem?
To not show the deleted member, we need to pass
shouldExcludeDeletedas true.I think we can make the default to true, but not sure why we made it false.[-]mWeb - Chat - The welcome group message doesn't update when a user is removed[/-][+][$250] mWeb - Chat - The welcome group message doesn't update when a user is removed[/+]melvin-bot commentedon Oct 2, 2024
Job added to Upwork: https://www.upwork.com/jobs/~021841455012379899950
melvin-bot commentedon Oct 2, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (
External)alitoshmatov commentedon Oct 6, 2024
@bernhardoj Thank you for your proposal, your RCA is correct. Looks like fairly simple solution.
We can go with @bernhardoj 's proposal
C+ reviewed 🎀 👀 🎀
melvin-bot commentedon Oct 6, 2024
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
25 remaining items
bernhardoj commentedon Oct 17, 2024
Requested in ND.
JmillsExpensify commentedon Oct 21, 2024
$250 approved for @bernhardoj
alitoshmatov commentedon Oct 23, 2024
alitoshmatov commentedon Oct 23, 2024
@JmillsExpensify Checklist done
sonialiap commentedon Oct 23, 2024
@alitoshmatov thanks! Payment completed ✔️
tgolen commentedon Oct 23, 2024
@sonialiap can you please copy the checklist answers from @alitoshmatov into the checklist comment above and then complete your checklist item?
sonialiap commentedon Oct 24, 2024
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: