Skip to content
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

Add Toast component #238

Open
tom-leamon opened this issue Dec 21, 2023 · 1 comment
Open

Add Toast component #238

tom-leamon opened this issue Dec 21, 2023 · 1 comment

Comments

@tom-leamon
Copy link
Contributor

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:

  • Implement the Toast component with auto-dismiss functionality.
  • Ensure Toasts appear at the top or bottom of the screen (configurable).
  • Toasts should fade in and out smoothly.
  • Keep Toast messages concise and dismiss after a short, predefined duration.
@tom-leamon
Copy link
Contributor Author

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant