prona-p4-learning-platform / learn-sdn-hub

12 stars 6 forks source link

Terminal State not saved when leaving current assigment #182

Open S-Schickentanz opened 4 months ago

S-Schickentanz commented 4 months ago

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:

Possible solution: Serialize data and temporarily save it in localStorage