You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 ofToastLevel
& message is already visible. Checking for equality of the message could prove difficult as they're of typeRenderFragment
.b) Make
ToastsContainer.ToastList
public so consumer of the package can check for equality.If desired I could make these changes
The text was updated successfully, but these errors were encountered: