-
Notifications
You must be signed in to change notification settings - Fork 4
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
level of phetioDocumentation? #61
Comments
I think that number one seems like the most correct, and taking a short look into VertexFormViewProperties it seems like it would be possible to use nested options to pass the more specific options to each of the instances of the viewProperties. I would also be ok with a more general doc that covers ever use case. For coordinatesVisibleProperty that would look perhaps like "whether coordinates are visible on plotted points on the graph" What do you think of those two options? |
Thanks for the feedback @zepumph. I don't like the complication/indirection of passing I could live with (2) with |
|
Signed-off-by: Chris Malley <[email protected]>
I agree with 2 above. I'm going with: // @public
this.coordinatesVisibleProperty = new BooleanProperty( GQQueryParameters.checkAll, {
tandem: options.tandem.createTandem( 'coordinatesVisibleProperty' ),
phetioDocumentation: 'whether (x,y) coordinates are visible on points that are displayed on the graph'
} ); |
Signed-off-by: Chris Malley <[email protected]>
This issue will help me decide how to address #55.
In Graphing Quadratics, I have
coordinatesVisibleProperty
, which is specific to the view. It controls the visibility of coordinates that appear on a screen. How specific shouldphetioDocumentation
be for this Property? (vertexProperty
has a similar issue, but let's stick with discussion ofcoordinatesVisibleProperty
for now.)Which of these 4 options is preferred?
(1) Screen-specific
phetioDocumentation
, i.e.:Standard Form screen:
'whether coordinates are visible on the vertex and roots'
Vertex Form screen:
'whether coordinates are visible on the vertex'
Focus & Directrix screen:
'whether coordinates are visible on manipulators (vertex, focus, point on parabola)'
I'm not convinced that this level of specificity is even useful.
(2) General
phetioDocumentation
used for all screens, i.e.:'whether coordinates are visible'
For
coordinatesVisibleProperty
, this seems highly redundant, similar to documentinggetWidth
as "Gets the width".(3) No
phetioDocumentation
. I'm leaning heavily towards this option.(4) More verbose screen-specific Property names, possibly combined with (1), e.g.:
vertexAndRootsCoordinatesVisibleProperty
vertexCoordinatesVisibleProperty
manipulatorCoordinatesVisibleProperty
This option hides the fact that this Property has the same general purpose on all screens. It also limits possibilities for reuse of the Property across screens.
The text was updated successfully, but these errors were encountered: