-
Notifications
You must be signed in to change notification settings - Fork 523
Description
Create an injectable service that can push a notification to a component.
-
have bootstrap’s statusses: info, warning, error, etc.
-
have the option to be closable, either manually or on a timer (an ngrx effect I’d say)
-
The creator of a notification should also be able to close it (e.g. when the reason for an error no longer exists)
-
As came up in last meeting: there should be a way to add other interactive elements in a message (e.g. a button that opens something) so we’d have the most freedom if notifications could contain any other type of component, but you’d have to look at the feasibility.
-
It would be nice if they animated, nothing too flashy, just to make it clear to the user that something changed. The way atom does it for example: https://github.com/atom/notifications
-
use redux for the state of notifications