The doc for Notfications added in Jupyterlab 3.6.0 say -
It is a good practice to limit the number of notifications sent to respect the user’s focus. Therefore by default, the notification won’t be displayed to the user. But the status bar will indicate that a new notification arrived.
(emphasis on “by default” mine)
How do I ensure a notification is displayed to the user and not just added to the status bar?
I tried setting various values to autoClose (exact code below) but they all resulted in the same effect - the notification did not show up; it was added to the status bar and did not close automatically after I opened the set of notifs by clicking on the bell icon in the status bar.
Notification.emit("This is notif type - error", "error", {autoClose: false});
Notification.emit("This is notif type - warning", "warning");
Notification.emit("This is notif type - default", "default", {autoClose: 10});