Notify instructor button in group discussions

erlend_thune
Community Contributor
0
798

@Kelley L. Meeusen thought the functionality below could be of interest to Canvas developers. View the original thread here: https://community.canvaslms.com/ideas/4541?commentID=66234&et=notification.mention#comment-66234

Our instructors at the University of Agder in Norway were used to telling their students to put a bin outside the students group room if they needed help from the instructor. They wanted a similar behavior in Canvas. One could argue that this is a better solution than having the instructor subscribe to all the group discussions, especially since an instructor might have many groups in large classes. But being able to do both things in native Canvas would of course be best.

We solved the “bin” feature using custom js/css in Canvas. It is a small piece of a larger open source custom Canvas design which is desribed here: http://matematikk-mooc.github.io/

The main javascript code for the “bin” solution can be found in this file:

https://github.com/matematikk-mooc/frontend/blob/master/src/js/modules/menu.js

Just search for showDiscussionGroupMenu in that file. The code is depending on other files in https://github.com/matematikk-mooc/frontend, but a javascript programmer should be able to extract the functionality in a smaller set of custom css/js files.

The images below is taken from a students group discussion view. When the student group needs help, one of the student presses the "Tilkall veileder" button (notify instructor). This in turn leads to the steps shown below.

206376_binbehaviour.pngbinbehaviour.png