arcticbit / Hale.Monitoring

an open-source monitoring system
MIT License
0 stars 0 forks source link

Web Toaster #19

Closed simskij closed 8 years ago

simskij commented 8 years ago

Build a web toaster for receiving and handling notifications and alerts inside of Hale UI

piksel commented 8 years ago

simskij commented 8 years ago

More like:

image

But your suggestion is way better.

simskij commented 8 years ago

A toaster have been implemented. As of right now, it only handles static toasts, and one at a time. However, we should consider adding more flexibility when needed instead of over-engineering from the beginning.

The current solution builds on using states to push to a error-state, which should change the ui-view "toast" to the notification that you'd like to display. See /views/toasts/login-failed.html for examples together with the app.login.failed route.

Further discussion, suggestions or what not should be taken in a new ticket linked to this one.