Currently the logic for dashboard notifications is done in the front-end. The system would be cleaner if this logic is done in the backend, and the messages are just exposed as a list with type, text, severity, dismissible, timestamp.
F.e. this would allow way easier exposing of #1565 to the front-end, and support a general version of #1465.