Closed KatieWoe closed 1 year ago
I could probably address this specific case for the Population graph. But hiding genes after bunnies have been created is a general problem.
For example, in the Pedigree graph, if you hide a gene, the labeling of bunnies does not change. For example, hiding the fur gene in the Lab screen does not remove 'F' and 'f' from the labels:
And changing the labeling would be very odd, because the individuals clearly show fur traits. That's also true for the bunnies in the main play area -- once bunnies have been created with a trait, there's no way to hide that trait.
So... I'm inclined to do nothing about this issue. If you want to customize the UI by changing the values of view.genes.earsVisibleProperty
et.al., that needs to be done before you start growing the population. It's not pedagogically useful to do otherwise.
@arouinfar your thoughts? And if we do nothing for this issue, should anything about this be mentioned in examples.md?
So... I'm inclined to do nothing about this issue. If you want to customize the UI by changing the values of
view.genes.earsVisibleProperty
et.al., that needs to be done before you start growing the population. It's not pedagogically useful to do otherwise.
I agree @pixelzoom. I don't think we need to do anything here.
And if we do nothing for this issue, should anything about this be mentioned in examples.md?
No. From an instructional design standpoint, it doesn't make any sense to introduce mutations and then hide them. I don't think it's worth adding to examples.md, especially not at the expense of another spot-check.
Test device Samsung Operating System Win 11 Browser Chrome Problem description For https://github.com/phetsims/qa/issues/971. In studio, if you hide a gene, most things regarding it disappear, but the line in the population graph still shows up if it was visible before the gene was hidden, and the alleles for it show up when looking at a pedigree. This is despite the fact that the key for the gene disappears in both cases. Since this is an edge case it may not be worth addressing. Steps to reproduce
Visuals
Troubleshooting information: