source-academy / frontend

Frontend of Source Academy, an online experiential environment for computational thinking (React, Redux, Saga, Blueprint)
https://sourceacademy.org
Apache License 2.0
103 stars 167 forks source link

Versioning and history for student submissions #3074

Open Joulenergy opened 2 weeks ago

sayomaki commented 2 weeks ago

Would you mind elaborating on this? When the submission closes, no more changes can be made and that is the intended behaviour.

Joulenergy commented 21 hours ago

Yes! I mean that it will be useful if we have a feature that allows us to make changes to the submitted answers for revision. For example if the path was not submitted, everything will be red right, but if the student wants to revise, it would help if they can try again and then save the green version for themselves so when they revise they do not have to keep clicking again to check which one is the correct one and be unable to save. Same goes for the code, for example in the path they have the mini coding questions that need to pass the test cases, they can try to write it after submission and run the test cases, but they have no way to save the code that they have edited

martin-henz commented 6 hours ago

I think the more general topic is "versioning". At the moment, we only keep one copy of student submissions. It would be GREAT if we would keep all saved versions with time stamps. This would by itself be a great CP3108 project, involving frontend and backend.