-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AccordionBox is over-instrumented #404
Comments
I uninstrumented the specified parts of AccordionBox. @pixelzoom requested more specifically: Chris Malley [9:34 PM] Sam Reid [9:37 PM] Chris Malley [9:37 PM] Sam Reid [9:38 PM] Chris Malley [9:39 PM] Sam Reid [9:41 PM] Chris Malley [9:42 PM] Sam Reid [9:45 PM] Chris Malley [9:45 PM] Sam Reid [9:45 PM]
You mean of the +/- button only, or the corresponding title bar too? Chris Malley [9:46 PM] Sam Reid [9:48 PM] Chris Malley [9:48 PM] Sam Reid [9:49 PM] Chris Malley [9:49 PM] |
When a NodeIO is instrumented, it gets all of the NodeIO features, which includes visibility, pickability and opacity. I don't think we should complicate things by sometimes saying certain nodes only have a subset of these options. When @zepumph and I addressed this for the PhET-iO button on the navigation bar, we created a custom IO type (so the PhET-iO logo can be made unpickable but not hidden), but this should be done rarely. So this issue should be for deciding what PhET-iO features Accordion Boxes should generally have, and hence will have for Graphing Quadratics in particular. |
I removed a few more seemingly extraneous sub-components in the preceding commit. Now AccordionBox has: To me, that seems like a good level of granularity for now. Reassigned to @pixelzoom to see if this will be acceptable for Graphing Quadratics. |
This looks 1000% better. Thanks for handing. Closing. |
@pixelzoom identified that AccordionBox is over-instrumented in phetsims/graphing-quadratics#14. It instruments
expandedBoxOutline
,collapsedBoxOutline
,plusSymbol
andminusSymbol
which should be uninstrumented. Maybe more.The text was updated successfully, but these errors were encountered: