Open lanitochka17 opened 3 hours ago
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.
The group welcome text doesn't immediately update its members/participant.
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.
https://github.com/Expensify/App/blob/e84dab77b7bf3481961d590e1f547b8f7ff1b944/src/components/ReportWelcomeText.tsx#L43
https://github.com/Expensify/App/blob/e84dab77b7bf3481961d590e1f547b8f7ff1b944/src/libs/ReportUtils.ts#L2110-L2112
So, the text will still shows the pending delete member for a while.
To not show the deleted member, we need to pass shouldExcludeDeleted
as true.
const participantAccountIDs = ReportUtils.getParticipantsAccountIDsForDisplay(report, undefined, true);
I think we can make the default to true, but not sure why we made it false.
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: 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
Issue found when executing PR https://github.com/Expensify/App/pull/49618
Action Performed:
Expected Result:
The removed user is not displayed in the welcome group message
Actual Result:
The removed user is still displayed in the welcome group message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/29d62e4a-022e-4c08-b543-f4eefb949305
View all open jobs on GitHub