Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Allow viewing currently active toasts #253

Open
maurice-freitag opened this issue Mar 4, 2024 · 0 comments
Open

[Feature Request] Allow viewing currently active toasts #253

maurice-freitag opened this issue Mar 4, 2024 · 0 comments
Labels
Feature Request Request to add a new feature Triage Issue needs to be triaged

Comments

@maurice-freitag
Copy link

Is your feature request related to a problem? Please describe.
We use Toasts primarily for displaying errors. In many cases the same error occurs in rapid succession leading to many duplicate toasts. We would like to display errors with the same error text only once.

Describe the solution you'd like
Either one of these:
a) Extend BlazoredToasts with a parameter (ShowDuplicates?) so that the container itself can decide whether or not a toast should be shown depending on whether or not the combination of ToastLevel & message is already visible. Checking for equality of the message could prove difficult as they're of type RenderFragment.

b) Make ToastsContainer.ToastList public so consumer of the package can check for equality.

If desired I could make these changes

@maurice-freitag maurice-freitag added Feature Request Request to add a new feature Triage Issue needs to be triaged labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Request to add a new feature Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant