Closed IsoPhoenix closed 1 year ago
Lists completed tasks from students. Teacher can confirm the completion of tasks, resulting in reward payout to student (update account balance).
TeacherView.js
onSnapshot()
completedTasks
players
user
confirmedTasks
assignedTasks
Task Confirmation Interface: List + confirm + reject
Overview:
Lists completed tasks from students. Teacher can confirm the completion of tasks, resulting in reward payout to student (update account balance).
Components:
Frontend:
TeacherView.js
that lists completed tasks.Backend:
onSnapshot()
to listen to thecompletedTasks
collection. Consult existing code for referenceplayers
to retrieve player name. Email can come fromuser
objectcompletedTasks
and add toconfirmedTasks
completedTasks
and reinsrt inassignedTasks