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
We need to rework the NotificationProvider and Notifications components into another NotificationContainer and expose the underlying notifications API from Mantine. This change will help us better manage notifications and provide more flexibility in how they are displayed and handled.
Tasks:
Rework the NotificationProvider component into NotificationContainer. (notifications stream into the container and work with the queue to ensure all notifications are from callbacks are displayed before being removed)
expose props for api (clean, cleanQueue)
notifications handle for {add, update, hide}?
Expose the underlying notifications API from Mantine. (dash_mantine_components.notification_container similar to dash_ag_grid.getApi)
Update documentation to reflect these changes. (deprecate NotificationProvider and Notifications for v1 and remove in v2)
Additional Context:
The current Notifications component has limitations in terms of flexibility and customization. This is also not a good pattern for the notifications as Mantine itself only has the single component. The components are also stuck in the dash eco-system unless replaced or removed. (eg. Patch never removes) By exposing the notifications API from Mantine, we can leverage its full capabilities and provide a more robust solution for managing notifications.
The text was updated successfully, but these errors were encountered:
We need to rework the
NotificationProvider
andNotifications
components into anotherNotificationContainer
and expose the underlyingnotifications
API fromMantine
. This change will help us better manage notifications and provide more flexibility in how they are displayed and handled.Tasks:
NotificationProvider
component intoNotificationContainer
. (notifications
stream into the container and work with the queue to ensure all notifications are from callbacks are displayed before being removed)clean
,cleanQueue
)notifications
handle for{add, update, hide}
?dash_mantine_components.notification_container
similar todash_ag_grid.getApi
)NotificationProvider
andNotifications
forv1
and remove inv2
)Additional Context:
The current
Notifications
component has limitations in terms of flexibility and customization. This is also not a good pattern for the notifications as Mantine itself only has the single component. The components are also stuck in the dash eco-system unless replaced or removed. (eg.Patch
never removes) By exposing the notifications API from Mantine, we can leverage its full capabilities and provide a more robust solution for managing notifications.The text was updated successfully, but these errors were encountered: