Skip to content

feat(message): Expand message to support notification-like functionality #103

@edcarroll

Description

@edcarroll

The message component is currently incredibly limited in scope, supporting only messages created in the component template.

This issue is proposing a large extension of the component's functionality, to include:

  • Creating & destroying messages using a service within the component
  • Automatic dismissal after n milliseconds
  • Support for global messages (i.e. toast notifications)
    • Positioning, with responsive fallbacks
    • Stacking
  • Support for custom containers (e.g. above a form)
  • Hook for message click events
  • Progress bars below showing time until automatic dismissal

Please do weigh in on this proposal, specifically if there are any features you'd like to see / concerns you have.

I'm also debating whether to call this a completely new component, as it adds so much more over the native SUI message component.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions