Add toast notification system with warning variant, queue, and keyboard dismiss - #730
Conversation
…rd dismiss - Create Toast.tsx component with success/error/warning/info variants - Add Escape key dismissal for keyboard accessibility - Error toasts persist until manually dismissed - Queue limits visible toasts to max 3, removing oldest non-error first - Auto-dismiss non-error toasts after 5 seconds (10s with link) - Add warning variant with CSS variables and styles for both themes - Update ToastContainer to use Toast component internally - Update tests and stories for new warning variant and queue behavior Closes ritik4ever#613
|
@Chinonso-Peter is attempting to deploy a commit to the ritik4ever's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Chinonso-Peter Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Warning Review limit reached
Next review available in: 54 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (18)
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. Comment |
Summary
Adds a comprehensive toast notification system per #613.
Changes
warningvariant; error toasts persist until manually dismissed (no auto-dismiss); queue capped at 3 visible toasts (oldest non-error removed when full); auto-dismiss timeout changed from 6s to 5sToastcomponent internally--toast-warning-*CSS variables and.toast-warningstyles for both dark and light themesCloses #613