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

🪲 Old programs without 'is_modified' are shown #5521

Closed Annelein closed 4 months ago

Annelein commented 4 months ago

Also fixes that only modified programs are shown in 'My public profile'

How to test Is it correct that we don't have saved programs in the test database? Then it's a bit difficult to test:

  1. Go to programs.py and comment out line 101, 104 and 106
  2. Save a few programs, check if they are shown in /my-programs
  3. Make a few public and see if they are shown in 'My public profile'
Felienne commented 4 months ago

Also fixes that only modified programs are shown in 'My public profile'

How to test Is it correct that we don't have saved programs in the test database? Then it's a bit difficult to test:

Good point! I will make a new issue to discuss that!

  1. Go to programs.py and comment out line 101, 104 and 106
  2. Save a few programs, check if they are shown in /my-programs
  3. Make a few public and see if they are shown in 'My public profile'

I will be lazy and test on alpha :)

mergify[bot] commented 4 months ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).