Alerts use case: showing status messages that disappear when status changes #252
-
Dashboard currently uses alerts to notify user when a dashboard is loading and is taking a longer than usual. It sets up its own AlertStack component instead of using the app-platform's built in alert service. The dashboard solution uses a timeout to delay the alert from showing for 500ms, and when loading is complete, the alert is removed from the DOM (the whole AlertStack). I'm wondering if there is a way to achieve this behavior with the alert service? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hm, seems to me that we could expose Then we could delay the |
Beta Was this translation helpful? Give feedback.
https://jira.dhis2.org/browse/LIBS-114