Closed simskij closed 8 years ago
More like:
But your suggestion is way better.
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.
Build a web toaster for receiving and handling notifications and alerts inside of Hale UI