Skip to content

Duplicate toasts appear when events fire in rapid succession #572

Description

@Kingsman-99

Description

When multiple identical events occur within milliseconds (e.g. a webhook fires twice), ToastContainer renders duplicate toast entries. The component should deduplicate toasts with the same message and type that arrive within a short debounce window.

Acceptance Criteria

  • Identical toasts (same message + type) fired within 500 ms are collapsed into a single toast
  • Subsequent duplicates reset the auto-dismiss timer of the existing toast
  • Non-identical toasts are never suppressed
  • Existing tests continue to pass

Context

  • Target file: src/components/ToastContainer.tsx

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions