HGustavs / LenaSYS

Code Viewer and Course Organization System used in some courses at University of Skövde
57 stars 31 forks source link

Web browser push notifications of new results #6942

Open HGustavs opened 5 years ago

HGustavs commented 5 years ago

Push notifications of results to web browsers. We would like a service worker interface for sending notifications to the web browser. There used to be a push notification service but, it was too complicated to maintain.

A minimum interface that users can subscribe to get results only. When a result is added to a student we want this to be sent as a notification to students that have elected for notifications of results.

https://developer.mozilla.org/en-US/docs/Web/API/Push_API

b17nicsv commented 5 years ago

@HGustavs It would be like Githubs "watch" then?

Something like: A student chooses to "watch" or "follow" (or whatever you want to call it) to get a MOTD-like message that their result is back in "this course".

From previous discussions about using E-mails and SMS it is prohibited to automate sending messages through E-mail and it is prohibited to know about the students phone number, which makes the MOTD-like message container a good idea imo.

HGustavs commented 5 years ago

I would say in general, you say accept notifications and the system would itself figure out which courses you are taking and when results have been given...

HGustavs commented 5 years ago

So like watch or youtube bell.

Maxel89 commented 4 years ago

I'm having trouble finding relevant and helpful information, most of what I find relates to Node. Anyone got any tips?

Maxel89 commented 4 years ago

I not getting anywhere on this so I'll start working on another issue