regression: Members list not being updated after invite is revoked#37981
regression: Members list not being updated after invite is revoked#37981kodiakhq[bot] merged 2 commits intorelease-8.0.0from
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:
|
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.