-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
- You need to merge from
mainfirst as it looks like thecanvas-apibranch is behind.
Frontend
Add the auto-process button on the teacher's Requests page (ConfirmTasksTable)
Backend
- Write a mutation
ProcessCanvasTaskinmutations.jsthat, given a Canvas Task, will:- Fetch the email of the user who submitted the task
- Use calls to the
/submissionsand/usersendpoints of the Canvas API to check for the existence of a submission from a user with a matching email - If so, confirm the task by calling
confirmTask.
- Upon clicking the auto-process button, loop through the list of
completedTasksfor tasks oftype == 'canvas'and runProcessCanvasTaskfor each.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request