Fixed: Issue #881 - Enable Selection on AvatarFallback#882
Conversation
|
@AbhiArya20 is attempting to deploy a commit to the Zero Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThis update refactors the bulk selection logic in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ThreadComponent
participant MailState
User->>ThreadComponent: Click avatar or checkmark
ThreadComponent->>ThreadComponent: addThreadToBulkSelection / removeThreadFromBulkSelection
ThreadComponent->>MailState: Update bulkSelected array with thread ID
Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ 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 (
|
|
there's already a handleMailClick event, please check latest staging |
Description
Fixed : #881
Enable users to select conversation with FallbackAvatar for bulk operation.
Fallback initials now behave the same as avatar images in terms of selection and visual alignment, improving usability during bulk operations.
Type of Change
Areas Affected
Testing Done
Verified that both avatar images and fallback initials are now selectable for bulk actions. Confirmed alignment and styling consistency.
Security Considerations
Checklist
Screen.Recording.2025-05-06.023602.mp4
Summary by CodeRabbit
Style
Refactor