hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.3k stars 285 forks source link

🪲 Trying a public adventure in the editor, saves the program #5507

Open jpelay opened 4 months ago

jpelay commented 4 months ago

Describe the bug

Also while testing #5485 we found out that after tyring the adventure and editing it, the program was being saved and restored. We think that the behavior should be that these programs are not stored and the user shoukld be greeted with an empty editor every time.

After some digging Hasan found that the editor contents where being modified after the switch event.