hcs-t4sg / questable

questable.vercel.app
2 stars 0 forks source link

Due Dates #35

Closed IsoPhoenix closed 1 year ago

IsoPhoenix commented 1 year ago

Due Dates

Overview

Enforce due dates on tasks. Tasks should expire and no longer be completable past the due date

Frontend

Backend

IsoPhoenix commented 1 year ago

Addendum for functionality when teacher edits a task by changing the due date:

When a teacher edits the due date of a task: If the new due date is in the future, you should transfer all player IDs from the expired array back to the assigned array. This covers retroactive action of a teacher giving an "extension" by changing due date.

This functionality should happen when the task is actually edited (i.e. do the checking and/or moving when the edit is confirmed, not when the due date is just being changed in the edit modal).