Open IsoPhoenix opened 1 year ago
Functional auto-process button on the teacher's Requests page that will mass confirm or reject all Canvas API tasks.
main
canvas-api
Add the auto-process button on the teacher's Requests page (ConfirmTasksTable)
ConfirmTasksTable
ProcessCanvasTask
mutations.js
/submissions
/users
confirmTask
completedTasks
type == 'canvas'
Canvas API: Teacher Mass Confirm Tasks
Overview
Functional auto-process button on the teacher's Requests page that will mass confirm or reject all Canvas API tasks.
IMPORTANT
main
first as it looks like thecanvas-api
branch is behind.Frontend
Add the auto-process button on the teacher's Requests page (
ConfirmTasksTable
)Backend
ProcessCanvasTask
inmutations.js
that, given a Canvas Task, will:/submissions
and/users
endpoints of the Canvas API to check for the existence of a submission from a user with a matching emailconfirmTask
.completedTasks
for tasks oftype == 'canvas'
and runProcessCanvasTask
for each.