-
Notifications
You must be signed in to change notification settings - Fork 13k
regression: Members list not being updated after invite is revoked #37981
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
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
WalkthroughCentralizes member list query keys and introduces automatic cache invalidation after user removal from a room, ensuring the member list updates reactively without manual refresh. Fixes state drift where revoked federated invitations weren't reflected immediately in the members list. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
🧠 Learnings (7)📓 Common learnings📚 Learning: 2025-12-02T22:23:49.593ZApplied to files:
📚 Learning: 2025-11-27T17:56:26.050ZApplied to files:
📚 Learning: 2025-10-28T16:53:42.761ZApplied to files:
📚 Learning: 2025-09-25T09:59:26.461ZApplied to files:
📚 Learning: 2025-09-25T09:59:26.461ZApplied to files:
📚 Learning: 2025-09-16T13:33:49.237ZApplied to files:
🧬 Code graph analysis (3)apps/meteor/client/views/hooks/useMembersList.ts (1)
apps/meteor/client/lib/queryKeys.ts (1)
apps/meteor/client/views/room/hooks/useUserInfoActions/actions/useRemoveUserAction.tsx (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.0.0 #37981 +/- ##
=================================================
+ Coverage 70.64% 70.65% +0.01%
=================================================
Files 3143 3143
Lines 108687 108700 +13
Branches 19493 19562 +69
=================================================
+ Hits 76785 76806 +21
+ Misses 29903 29897 -6
+ Partials 1999 1997 -2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 3 files
Proposed changes (including videos or screenshots)
This PR fixes a bug causing the room members list to not be updated once a invitation is revoked via user info contextual bar. In addition the members list query key was moved to the common file following our best practices.
Issue(s)
FB-170
Steps to test or reproduce
Further comments
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.