Skip to content
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

Terminal State not saved when leaving current assigment #182

Open
S-Schickentanz opened this issue Apr 28, 2024 · 0 comments
Open

Terminal State not saved when leaving current assigment #182

S-Schickentanz opened this issue Apr 28, 2024 · 0 comments
Assignees

Comments

@S-Schickentanz
Copy link
Collaborator

When changing between assignments (or in general when you exit the current assignment or even reload the page) the terminalStatus is reset / not persistent.
This leads to data loss when the user (accidentally) navigates to other resources.

To reproduce:

  • Start assignment
  • Write something in the terminal
  • Reload Page / Go to "Assignment Overview" and resume the assignment
  • The last terminalState should now be inaccessible

Possible solution:
Serialize data and temporarily save it in localStorage

@srieger1 srieger1 self-assigned this Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants