UoaWDCC / passport

WDCC Passport project. Established in 2024.

Home Page:https://wdcc-passport.fly.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prizes Admin Dashboard

derogative404 opened this issue · comments

Description

As a admin
I want to view the names of the students that have achieved a prize. Once they have collected their prize, I would like to check off their name and it should disappear from the dashboard.

Proposed Solution

https://www.figma.com/file/tvnkfOcsSfp21oouz9Lbqy/Initial-Design?type=design&node-id=1%3A2&mode=design&t=wjUjqygQIxZS5Kkj-1

Acceptance Criteria

  • Utilises /dashboard/prizes route
  • Prizes table created as per schema. Connected by userID
  • Table like format, with the column headings being "Name" (student's firstname and lastname) and "Prize Received" (checkbox when student has received a prize)
  • "Name" column displays the name of the student
  • "Prize Received" column displays a checkbox
  • Once a checkbox under "Prize Received" is checked for an associated student, the row containing the student's name and checkbox should disappear on the frontend but remains on the back end.

Notes

This is basically done without the first and last names in the table, idk why it's not working

All goods. Just send through a PR of what you've got

completed