John-sCC / jcc_frontend

Apache License 2.0
0 stars 0 forks source link

User data displays - working demos for user dashboard and assignment redirect #34

Closed drewreed2005 closed 7 months ago

drewreed2005 commented 7 months ago

In this pull request, two pages have made significant progress:

/user-disp-test/

Used essentially as a dashboard proof of concept. Actual styling details will be worked out later. This is a working version of how data could be displayed. Remaining things to work out:

More progress on the leader redirect will be made once the seating chart code works well

/assignment-data?id={assignmentId}

Using a query parameter on the frontend, from that dashboard page, a fetch is made to the backend to save specific assignment data. Remaining things to work out:

Overall Notes

It is most important to note that the dashboard will work by using the JWT and a specific fetch request to identify the person and send the class data, not their ID as a query parameter (as is the current method for debugging). This will all be properly implemented once the JWT problems stop happening.

We've effectively shown our progress toward connective functionality!