Actions
Feature #12966
openAllow Wt to notify users of updates
Start date:
08/21/2024
Due date:
% Done:
0%
Estimated time:
(Total: 0:00 h)
Description
When users are working in a Wt application, it is possible they are using multiple tabs (browser tabs).
Wt should then be able to notify users of updates happening. They can of course be notified by pushing out updates (see: WApplication::triggerUpdate()).
This updates the page, but doesn't warn them if they switched browser tabs that an update is available.
There are two ways to approach this, both are to be implemented:
- a way to change the favicon, by appending a small dot (like Mattermost does), similar to: https://igorprado.github.io/favicon-notification/
- actually using the Notifications API
Actions