-
-
Notifications
You must be signed in to change notification settings - Fork 668
Add "Delete all spam" button #974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit adds a "Delete All Spam" button that appears only when viewing the spam folder. The button includes a confirmation dialog to prevent accidental deletion and uses the existing move-to-bin functionality to handle the deletion process. The implementation includes appropriate loading states, success/error notifications, and refreshes the thread list and stats after deletion.
@gitstart-opensource is attempting to deploy a commit to the Zero Team on Vercel. A member of the Team first needs to authorize it. |
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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 (
|
Please resolve conflicts |
going with #952 for this because it loops through the entire spam folder |
Description
Type of Change
Please delete options that are not relevant.
Areas Affected
Testing Done
Describe the tests you've done:
Security Considerations
N/A
Checklist
Additional Notes
Again, I didn't see that there was a PR raised up for the issue at the time of starting. Consider this an alternative, but feel free to close it.
Screenshots/Recordings
By submitting this pull request, I confirm that my contribution is made under the terms of the project's license.