Repository navigation
fix: Clear all reactions missing - #23307
Conversation
WalkthroughThe changes introduce a "Clear All Reactions" feature to the user options dropdown in the user list component. This involves importing a new GraphQL mutation, a notification service, and a hook to check if reactions are enabled. A new action is added to the dropdown menu, visible to moderators when reactions are enabled. Selecting this action triggers the mutation to clear all reactions and displays a notification. Additionally, a new English localization string for the notification message is added. Sequence Diagram(s)sequenceDiagram
participant Moderator
participant UI (User Options Dropdown)
participant GraphQL API
participant Notification Service
Moderator->>UI (User Options Dropdown): Opens dropdown
UI (User Options Dropdown)->>UI (User Options Dropdown): Checks if reactions are enabled and user is moderator
alt If enabled and moderator
Moderator->>UI (User Options Dropdown): Clicks "Clear All Reactions"
UI (User Options Dropdown)->>GraphQL API: Send CLEAR_ALL_REACTION mutation
GraphQL API-->>UI (User Options Dropdown): Returns mutation result
UI (User Options Dropdown)->>Notification Service: Show "Cleared all user reactions" toast
end
Assessment against linked issues
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code Graph Analysis (1)bigbluebutton-html5/imports/ui/components/user-list/user-list-graphql/user-participants-title/user-options-dropdown/component.tsx (2)
⏰ Context from checks skipped due to timeout of 90000ms (5)
🔇 Additional comments (6)
✨ Finishing Touches
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 (
|
|
Automated tests Summary✅ All the CI tests have passed! |



What does this PR do?
restores "clear all reactions" menu item in userlist dropdown
Closes Issue(s)
Closes #23296
How to test