Open bobintetley opened 4 years ago
while interesting technically, we don't actually have much of a use for this at the moment
a poll loop in common.js could break when you had multiple tabs open. It would need a way to detect if it was already running in another tab and not start itself again.
Notifications exist as an HTML 5 feature.
The timeline elements could optionally be notifications and would make a lot of sense.
The question is over how this would be implemented - probably some kind of ajax poll loop from the loader in common.js. It pulls the timeline every 10 minutes or so and shows a notification for anything on the timeline the user hasn't seen. We need some kind of generatable ID for each time line event - probably the event name and ID should do it.
Notification API