-
-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Another basic functionality for a component library: a component that manages and instruments a notification queue.
The motivation is to replace the HeaderWithToast.svelte example in UI Shell, and support this at the library level.
Component API:
- It should use
ToastNotificationand allow consumers to imperativelyaddandremovenotification elements. - Each element can be keyed, so that duplicate notifications are not appended. Auto-dismiss/customizable timeouts should be forwarded to ToastNotification.
- It should support top right and bottom right placements. For top-right, it should sit below the shell. The consumer should be able to customize the margin offsets for either position).
Related #1644
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request