-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preload the latest submission in the editor on the activity show page #4485
Conversation
Co-authored-by: Charlotte Van Petegem <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restoring now happens with a reload and a query string. It would be nicer for the user to do this with JS without reload.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you impersonate me on naos, You'll see an error on https://naos.dodona.be/nl/courses/2026/activities/1944243494/
The console logs
caught SyntaxError: missing ) after argument list
This pull request preloads the latest submission in the code editor. When this happens, an allert is also edit that explains what happened and allows the user to restore the boilerplate.
Closes #2886