Do you think we can re-purpose this banner for system alerts? For example, when the image service from compute canada was down. I can add a notification model in the Django admin, to populate it.
Tasks
[BE] Add notification model to Django admin
[BE] Expose active notifications from an endpoint
[FE] Call this endpoint from web app and present notifications in UI
[FE] Make it possible for users to clear notifications
Comments
If each notification has a unique ID from start, we can keep track of what users have seen and not and enable clearing of notifications.
An optional field "link" could be useful to include in the model. Often we have more information to show at some other place (for example if we want to inform about a new release)?
Adding a field "type" (neutral, warning, error, etc.) could be useful?
Adding a field "category" could be useful? For some categories we might want the notification to always show (like if some service is down). In other cases we might want to present a notification once (like for a new release)?
Notification history from last weeks or so could be nice to present on demand, for example in a slide out.
Background
From Michael:
Tasks
Comments