fkhadra / fkhadra/react-toastify

feature: Add utilities for managing toast queue

Open
#1,248 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.4k
Forks
741
PR merge metrics
No merged PRs in 30d

Description

Desired capabilities:
* Ability to dismiss toasts from the queue before they have been displayed (see [this PR](https://github.com/fkhadra/react-toastify/pull/1235)
* Ability to update queued notifications
* Ability to dedupe queued notifications (by toastId)
* Ability to get queued notifications (maybe integrated with useNotificationCenter or as separate utility)
* onChange status for toast being queued

There are some conceptual reasons for this request:
* To enable having a badge attached to the top notification showing the total number of notifications displayed/queued
* To proactively show queued notifications in a notification center, even before they have been visibly displayed to the user as toasts
* To enhance deduping/updating behavior for notifications that are queued

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.