Alerts use case: showing status messages that disappear when status changes #252
Answered
by
varl
jenniferarnesen
asked this question in
Q&A
|
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? |
Answered by
varl
Jun 22, 2021
Replies: 2 comments 3 replies
|
Hm, seems to me that we could expose Then we could delay the |
3 replies
0 replies
Answer selected by
varl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://jira.dhis2.org/browse/LIBS-114