-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(alert): add 'queue' property to prioritize the ordering of alert…
…s when opened (#10029) **Related Issue:** #8705 #8316 ## Summary - add `queue` property to order an open alert `immediate`, `next` or `last` (default). - When a `queue="immediate"` alert is opened it is displayed immediately. - When a `queue="next"` alert is opened it will be displayed after the currently opened one is closed. - By default, alerts are queued to be `last` when opened. - When an alert is set to `queue="immediate"` after already being opened it will be presented first. - Done by unregistering and registering the alert again - All open alerts not at the top of the stack will be queued and auto close timeout reset - All other alerts remain in their place. - cleanup private var names - add simple story - add urgent story - add e2e test
- Loading branch information
Showing
6 changed files
with
325 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.