Nuvotion-Visuals / Formation

Comprehensive component library for creating apps and websites that demand responsive, unified cross-platform experiences.
https://formation.avsync.live
6 stars 0 forks source link

Add Toast component #238

Open tom-leamon opened 9 months ago

tom-leamon commented 9 months ago

A Toast component is needed for displaying brief, auto-dismissing messages in the application. Unlike a Snackbar, which is often used for longer messages and may include actions for the user to take, Toasts are simpler, shorter, and used for informative messages that don't require user interaction. They typically appear and disappear automatically, making them ideal for non-intrusive notifications.

Action items:

tom-leamon commented 9 months ago
  1. For the Toast component, the queue should be mindful of user experience. Having too many Toast messages back-to-back might overwhelm the user. We might need to set a maximum limit for the queue or introduce a slight delay between messages.

  2. Additionally, it would be beneficial to review how the queue handles priority. If a more critical Toast message is queued, it should potentially be displayed sooner than less critical messages, regardless of the order they were queued in.