-
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
apply phetioFeatured #112
Comments
Is this a prerequisite for 1.0 release? |
@samreid said:
What are " featured instances"? I see no description of the term here or in phetsims/phet-io-wrappers#143. In PhetioObject, I see:
That helps a little, but how and where is an instance "featured" in the API? |
Looking through the above commits, phetsims/sun@44e0a69 is a bit of a red flag. It adds Side note... Slider's default for |
This was addressed in the initial comment where it says "This is not essential for 1.0."
The new version of studio (in the branch referred to in https://github.com/phetsims/phet-io-wrappers/issues/143 has an option to only show "Featured" items.
We should add checks that
Perhaps we would need to use this pattern for instrumented subcomponents that need to be customizable, which can be created or passed in.
Sounds good to me! |
I've made related Slider improvements in phetsims/sun#418. |
After today's PhET-iO dev call with @kathy-phet, the decision was made to rollout Graphing Quadratics 1.0 with the redesigned Studio that has the "Featured" feature. So this issue needs to be completed. Priority raised to high. |
What are the "manipulators"? UPDATE: I discovered VertexManipulator, FocusManipulator and PointOnParabolaManipulator. I passed |
Gross. |
Oh wait, there is a more palatable established pattern for this case... Hold for commits. |
This is instrumented but not "featured". But the associated model properties are already featured. It is really important to feature the slider input listener? If we do make the slider thumb drag handler featured, do we also want to make other slider input listeners featured, such as clicking in the track? |
@samreid and @pixelzoom - I'm feeling like this list is what we wanted to instrument for this sim, but not necessarily what we might want to feature? Feature seems like it would be the most basic set of things we would imagine someone wanting to do. Some of these were for "advanced use" cases. I'm starting to feel like a PhET-iO design includes both the full brainstorm and then the "what should be featured" list out of that list. |
@kathy-phet said:
Agreed. But the concept of "featured" didn't exist when the PhET-iO design was done. Suggestions on how to proceed? Can what is "featured" be reviewed/revised as part of the general PhET-iO review to be done in #115? |
Is there space in Design Meeting this week to refine the list for "featured"? |
The first thing would be to make sure that @amanda-phet is aware that the "Featured" feature exists, so she has some time to think about it. As far as I know, she has been out of the loop. |
Thanks for looping me in, @pixelzoom ! I'm happy to have a design meeting about this. Is this the first sim that has a featured list? If so, we might want to invite Amy as well so we can both learn more about PhET-iO design (since we are responsible for contributing to these kinds of decisions). |
Yes, first sim with a featured list.
Kathy
…Sent from my iPhone
On Nov 27, 2018, at 8:14 PM, Amanda McGarry <[email protected]<mailto:[email protected]>> wrote:
Thanks for looping me in, @pixelzoom<https://github.com/pixelzoom> ! I'm happy to have a design meeting about this. Is this the first sim that has a featured list? If so, we might want to invite Amy as well so we can both learn more about PhET-iO design (since we are responsible for contributing to these kinds of decisions).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#112 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AE3FZDPWQmSqrxYB7fIcu4BF0caDKZR6ks5uzf90gaJpZM4YngeI>.
|
PhET-iO version has been deferred and will not be published with 1.0, see #101 (comment). So this issue can be deferred. |
Seems like we should ask @kathy-phet whether she wants to review. |
Yes that sounds good. I'll mark for phet-io meeting to make sure this doesn't fall off our list. Removing assignment. |
@kathy-phet will be taking a look at this tomorrow (6/21) |
@kathy-phet provided notes on this via slack. |
@samreid Can you please add @kathy-phet's slack notes here, for posterity? |
@kathy-phet said:
|
@chrisklus recalls a meeting (where @kathy-phet was not present) where @amanda-phet advocated for keeping "featured" as sparse as possible, and we wanted to make a distinction between (a) controls that are solely used for action and (b) controls that also serve as readouts. For controls that serve as readouts, such as sliders, spinners, radio buttons, they would default to featuring "enabledProperty". For controls that serve only as inputs, such as buttons, they would default to featuring "visibleProperty". We cannot find a paper trail on this, but that is our recollection. |
Yes, this is what was discussed when I was out of town. There are competing goals here - and Amanda and I discussed these tensions. This is why we are planning on having a meeting on Wednesday - to discuss with the PhET-iO team. My preference is to trust the clients to be smart about their configurations (or at least take responsibility for their own choices), rather than trying to limit them, - which prioritizes consistency and flexibility of these featured items. |
Just to add to the collective recollection... We concluded (on 1/6, I believe) that featuring visibleProperty and not featuring enabledProperty in general was a better strategy because: (1) visibleProperty is typically more useful than enabledProperty when considering UI components in general. (2) It reduces noise in the "Featured" view of tree, which makes that view easier to navigate. (3) We wouldn't be limiting the client's choices or capabilities by doing this, because enabledProperty is still available in the "All" tree view. So this isn't about trusting clients or limiting what they can do, it's about how to prune a huge navigation space. I still feel prefer this conclusion, but feel free to discuss/change without me. |
Another reason for not featuring |
Has this meeting been scheduled yet? I'm not seeing it on the calendar. |
We had the meeting this morning. During the meeting we decided that all ui components would have phetioFeatured enabled and visibleProperties until we got feedback from clients informing us that things should be done otherwise. In https://github.com/phetsims/phet-io/issues/1517 I implemented that. @kathy-phet and @amanda-phet it is now over to use to make the necessary overrides updates to GQ. |
@kathy-phet, @chrisklus, and I discussed the next steps here since https://github.com/phetsims/phet-io/issues/1517 was implemented. We were able to build a version before those commits, and then compare it to master with the diff wrapper. Here was the output: GQ diff.pdf From here @kathy-phet will review the changes, and then work in studio to update anything that is needed. She will then reach out to @amanda-phet, @zepumph, or @chrisklus for help as needed in committing the changes. |
@kathy-phet made changes to the overrides in response to the common code updates. Committed above. I think that this is the final |
@zepumph - with those commited is phettest now up to date so I could look at studio once more and review all? |
I'm not sure if it was, but I just pulled phettest and the answer is NOW yes. |
I've been out of the loop for design decisions, so I will assume that others have verified that metadata matches what is desired for GQ. I ran graphing-quadratics in phetmarks with Mode=studio, and I don't see any obvious problems. In #112 (comment), it sounds like @kathy-phet would like to review one more time. So I will assign to @kathy-phet and @zepumph to move this issue to closure. |
Thanks for the once over. @kathy-phet and I have reviewed this in the past week. Closing. |
In #14 (comment) we identified the PhET-iO features we wanted to support for this sim. In https://github.com/phetsims/phet-io-wrappers/issues/143 we introduced a new PhetioObject option to indicate featured instances. We should identify them as such:
This is not essential for 1.0. Testing this requires the studioc branch of phet-io-wrappers. Tagging @pixelzoom so he is aware I'm looking into this.
The text was updated successfully, but these errors were encountered: