Unique URL's for each submission
Each submission should have a unique URL associated with it which will make it easier to locate submissions and also share the submissions among other graders.
-
Create unique urls on the data received from the backend -
URL should have format grade/<exam_id>/<submission_id>/<problem_id>
-
submission_id
andproblem_id
may be optional -
Load matching submissions based on search query on frontend -
Add routes in app.jsx to redirect to correct submission based on URL -
Update NavBar to include examID
in URL path -
Update Grade.jsx
constructor to load submission depending on (optional) path -
Replace current URL when submission is changed instead of pushing to history -
URL should be replaced as callback for setState
function
Edited by Anant Pingle