[WEB-4536] fix: remove inactive workspace members from lists and dropdowns#7473
[WEB-4536] fix: remove inactive workspace members from lists and dropdowns#7473sriramveeraghanta merged 1 commit intopreviewfrom
Conversation
WalkthroughThe changes adjust how workspace members are filtered and managed. The frontend now displays all members, regardless of active status, while the store logic ensures only active, non-bot members are considered in computed lists. Additionally, removing a member now marks them inactive rather than deleting their data. Changes
Sequence Diagram(s)sequenceDiagram
participant UI as Members List UI
participant Store as Workspace Member Store
UI->>Store: Fetch member details (searchedMemberIds)
Store-->>UI: Return all member details (active & inactive)
UI->>Store: Remove member from workspace
Store->>Store: Set member's is_active = false
Store-->>UI: Member now marked inactive, not deleted
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings⏰ 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). (1)
🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Pull Request Linked with Plane Work Items
Comment Automatically Generated by Plane |
Description
This PR ensures that inactive members are excluded from all dropdown and lists across the app.
Type of Change
Summary by CodeRabbit