hedy icon indicating copy to clipboard operation
hedy copied to clipboard

[UI idea] Do not show confetti when running demo code

Open TiBiBa opened this issue 3 years ago • 5 comments

Idea incl level Currently, the user is given a positive message when successfully running a program, combined with the option to show confetti with the click on an icon. I think it would be nice to only show this to the user when the created program is unique program and not when simply running a start or demo program. This should be easy because we already keep track if a program is either a start or demo program

Additional context Add any other context about the idea here.

TiBiBa avatar Nov 15 '21 10:11 TiBiBa

Good idea!! At one point the confetti will be more limited anyway with a few victory conditions but this is a good idea to start with!

Felienne avatar Nov 15 '21 11:11 Felienne

Maybe a fun little issue for you @jpelay?

Felienne avatar Oct 27 '22 09:10 Felienne

Maybe a fun little issue for you @jpelay? Yes!

jpelay avatar Oct 28 '22 14:10 jpelay

@TiBiBa I'm working on this one, but I can't see what you by "we already keep track if a program is either a start or demo program" I can't see that in the /parse endpoint, or anywhere, can you help me with that? Do you mean that we can know if a program is a start_code or demo_code by checking if it's in the load_adventures_per_level list?

jpelay avatar Nov 05 '22 01:11 jpelay

@TiBiBa I'm working on this one, but I can't see what you by "we already keep track if a program is either a start or demo program" I can't see that in the /parse endpoint, or anywhere, can you help me with that? Do you mean that we can know if a program is a start_code or demo_code by checking if it's in the load_adventures_per_level list?

Yes I am pretty sure that it what @TiBiBa meant!

What we could alternatively do (and will be helpful going forward anyway...) is to track if a button is clicked from an example or form a cheatsheet. If we start tracking that we can gather more finegrained data about how kids use the site (atm we do not know how often examples and the cheatsheets are used apart from our own observations)

Felienne avatar Nov 05 '22 10:11 Felienne