Add archive all and more buttons to mobile bulk unsubscribe#217
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Caution Review failedThe pull request is closed. WalkthroughThe recent updates to the bulk unsubscribe feature involve restructuring component props for improved readability, introducing new hooks for managing email interactions, and enhancing the user interface with additional functionalities such as archiving emails. Changes include updates to both desktop and mobile components, ensuring consistency in user experience across platforms. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ArchiveButton
participant useArchiveAllButton
participant EmailAPI
participant Notification
User->>ArchiveButton: Click "Archive All"
ArchiveButton->>useArchiveAllButton: Trigger onArchiveAll()
useArchiveAllButton->>EmailAPI: Fetch email threads
EmailAPI-->>useArchiveAllButton: Return email threads
useArchiveAllButton->>Notification: Show archiving feedback
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
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 as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
useApproveButton,useArchiveAllButton, anduseMoreButton.Improvements
BulkUnsubscribeRowDesktopandBulkUnsubscribeRowMobilecomponents.Style