-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[$250] Group - After removing user, it is reflected under members group chat name #60582
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
Comments
Triggered auto assignment to @lydiabarclay ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-04-21 18:24:01 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.After inviting an user immediately reflected under members "group chat" name but when user is removed , it is reflected only on revisiting the page What is the root cause of that problem?
App/src/pages/ReportParticipantsPage.tsx Line 400 in aab7aeb
Then the Lines 4593 to 4595 in aab7aeb
Although, the compute logic is triggered before we call the
The reason is we need to set the derived value to Onyx here App/src/libs/actions/OnyxDerived/index.ts Line 57 in aab7aeb
App/src/libs/actions/Report.ts Line 3752 in aab7aeb
What changes do you think we should make in order to solve the problem?
Lines 4593 to 4595 in aab7aeb
And we also need to create a
App/src/pages/ReportParticipantsPage.tsx Line 400 in aab7aeb
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?UI bug What alternative solutions did you explore? (Optional)NA 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. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The group chat name doesn't update dynamically immediately. What is the root cause of that problem?In get report name function, if only Lines 4585 to 4593 in a2b6087
App/src/libs/actions/OnyxDerived/index.ts Lines 60 to 83 in a2b6087
The first problem is that we subscribe to the Lines 1042 to 1051 in a2b6087
The second problem is that the a pending member removal is stored on a report metadata, and when calculating the participant, we exclude the pending delete member, however, report metadata isn't added as the dependency of the report attributes.
What changes do you think we should make in order to solve the problem?First, add
Then, if it's available, use it instead of the
OR
This happens on other component too, such as the report header. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
@lanitochka17 could you confirm whether an attempt was made to reproduce on Standalone or no? |
Issue is not reproducible in Standalone app Screenrecorder-2025-04-24-01-05-54-950.mp4 |
👋 @lydiabarclay - I think you should ship this |
Job added to Upwork: https://www.upwork.com/jobs/~021915486246733096549 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
@bernhardoj's proposal looks good to me! 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @carlosmiceli, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
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.1.30-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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/5968674
Email or phone of affected tester (no customers): Slottwo1+op1@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
After removing or inviting user, it must be reflected immediately under members group chat name
Actual Result:
After inviting an user immediately reflected under members "group chat" name but when user is removed , it is reflected only on revisiting the page
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Platforms Tested:
On which of our officially supported platforms was this issue tested:Screenshots/Videos
Add any screenshot/video evidence
Bug6808512_1745254204099.Screenrecorder-2025-04-21-22-10-46-597.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @carlosmiceliThe text was updated successfully, but these errors were encountered: