encorelab / SCORE

Scripting and ORchestration Environment (SCORE)
Other
2 stars 0 forks source link

Implemented option to send notification for new top level discussion posts #91

Closed hirokiterashima closed 4 years ago

hirokiterashima commented 4 years ago

I added a new option in the discussion component's advanced settings: "Notify all students in the class for all new posts (not replies)". A new top-level post will create a notification for each classmate in the same period or all periods, depending on the setting for the discussion component. The notification will be sent in real-time over websocket if student is already in the unit, as well as via HTTP GET request when student launches the unit.

Test the following cases:

Closes #59