OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

The assessments detail page needs to be wired up to the backend #579

Closed seidior closed 1 year ago

seidior commented 1 year ago

Describe the Feature / Enhancement

The assessments detail page ("taking an assessment"/ "reviewing/resuming an assessment submission") needs to be wired up to the backend to call either the GET /program/:programAssessmentId/submissions/new route and the GET /submission/:submissionId route, depending on the URL for the page on the frontend being accessed.

For assessments that are "Opened" or "In Progress", the page should call the PUT /submission/:submissionId route:

Additional Details and Resources

The URL for this page should specify the program assessment ID as well as either the submission ID (for reviewing/resuming a submission) or the word "new", designating that we should call the new route on the backend.

Correct Project Selected

Labels