Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed May 14, 2024
2 parents 4c20bd6 + 1258105 commit 0bfa98e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Http/Controllers/LTI13Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,12 @@ public function launch() {
]);
}
else {
$chime->users()->syncWithoutDetaching([Auth::user()->id=> ['permission_number' => 100]]);
$chime->users()->syncWithoutDetaching([Auth::user()->id=> ['permission_number' => 100]]);
}

$chime->lti13_resource_link_id = $resourceLink->id;
$chime->save();

$folderId = null;
$folder = null;
$courseHasNonLTIFolders = false;
Expand Down
2 changes: 2 additions & 0 deletions app/Library/LTI13Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ static function periodicTask() {
->join("questions", "folders.id", "=", "questions.folder_id")
->join("sessions", "questions.id","=","sessions.question_id")
->join("responses", "sessions.id","=","responses.session_id")
->join("chimes", "folders.chime_id","=","chimes.id")
->select("folders.id")
->whereNotNull("folders.lti_lineitem")
->whereNotNull("chimes.lti13_resource_link_id")
->groupBy("responses.session_id")
->groupBy("folders.id")
->havingRaw("max(`responses`.`created_at`) > ?", [$oldestResponse])
Expand Down
6 changes: 6 additions & 0 deletions docs/canvas.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Below is a set of a step-by-step instructions for making a ChimeIn assignment in
| Add your questions within ChimeIn. If you have co-instructors, they will automatically be granted the access to add questions as well. | ![Click Add Question button to add your questions](./step9-add-new-question.png) |
| **Don't forget to publish your assignment** when you're ready for your students to view it | ![Load](./step10-publish.png) |


## Gradebook integration options

When you first setup ChimeIn in Canvas, you'll be asked to select how you'd like ChimeIn to appear in the gradebook. You've got two options - you can either have a single gradebook entry for all of your ChimeIn responses, or you can have multiple assignments each with its own gradebook entry. You can also choose not to have any grades.
Expand All @@ -46,6 +47,11 @@ When you're ready to share your questions with your students, remind them to fol

ChimeIn grades will be updated in Canvas approximately 3 hours after the last response is received. This is done to ensure that students don't get flooded with "grade update" notifications during a class. You can also use the "Force Canvas Sync" button, available under "Chime settings" or "Folder Settings" to force an instant update.


::: tip Student View
The "Student View" option in Canvas won't work with a third party tool like ChimeIn. To see exactly what your students will see, you can use the "participant view" button in ChimeIn.
:::

## "Correct" answers and the gradebook

ChimeIn is most often used to check engagement or collect feedback on a topic, rather than as a substitute for a quiz tool. However, when using multiple choice questions, you can choose to mark some responses as "correct". In your [Chime settings](managing-a-chime), you can choose to only count correct answers towards grades in Canvas.
Expand Down

0 comments on commit 0bfa98e

Please sign in to comment.