dancer variables disappear when creating new ones
davidsbailey opened this issue · comments
repro steps:
- go to https://studio.code.org/projects/dance/new
- click "dancer1" on the first block. see these options:
dancer1
,dancer2
,dancer3
,this_sprite
,Rename variable...
,New variable...
- click
New variable...
- type in
bob
as the new name - click
bob
on the first block
expected options: bob
, dancer1
, dancer2
, dancer3
, this_sprite
, Rename variable...
, New variable...
actual options: bob
, dancer2
, dancer3
, this_sprite
, Rename variable...
, New variable...
it appears that dancer1
has incorrectly disappeared from the variable list.
added to CSED milestone, but will confirm with @ryansloan if he thinks we should fix or push out to post-HOC. @davidsbailey any thoughts on how complicated this is to resolve?
poking around a bit more, it appears that we don't really store a list of variables anywhere, we just display the list of whatever dancer names are currently selected in any blocks in the workspace. so, i'm not sure there's a quick fix for this. So I'm going to move this to post-HoC.
I'm also seeing a related issue, with the wrong thing being shown in the dropdown after performing New variable...
. I've opened #511 for this, also post-HoC.
👍 to post hoc. This is true of all our variable dropdowns, I think?