-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use NumberControl instead of custom button+slider in SolarSystemCommonSlider #105
Comments
In today's meeting, it sounded like this is done or nearly done? I'll label as ready for review in case that's true. |
I do not agree. Let's first take care of the TODOs pointing to this issue: |
I added different sounds for the min and max, but the implementation is not very elegant and there may be a better way to do it. |
Thanks! Although found a problem with this implementation: When you move it to the border and back, it doesn't sound. We can pair tomorrow to take a look into it and review :) |
…ying the same sound at the same time, phetsims/my-solar-system#105
Ok, @samreid and I got to a good point on this issue. We have two more remaining todos, and they are both sound related:
It will be best to proceed with a sound design meeting. |
This reverts commit 574887b.
In phetsims/scenery-phet@574887b, @zepumph left dead code in NumberControl.ts, at line 591: children: [
/* new HBox( {
spacing: options.titleXSpacing,
children: [ titleNode, numberDisplay ]
} ),*/ |
To be discussed in conjunction with #131 |
I'll reassign @zepumph in case he is needed regarding #105 (comment). Self-unassigning, but please re-invite me if needed. |
I am not, thanks for the ping. That was accidental commit that was correctly reverted by @jessegreenberg. Sorry for the trouble. |
Discussed with @DianaTavares @emily-phet @Ashton-Morris @jbphet. We reviewed the latest Mass control sounds on master. The increment/decrement buttons use the same sound as the slider.
Not all siders need special min/max sounds. This feels analogous to the Mass slider on Gravity Force Lab (turn on Enhanced Sound) or Solution Volume in Molarity. We think it can stay the way it is.
@jbphet was surprised by this and will follow up with @zepumph to find out more.
The increment/decrement buttons make small changes, so this behavior is expected and reasonable. The sound design team is happy with the way it currently sounds. Leaving open for @AgustinVallejo to review, and assigning @jbphet to reach out to @zepumph. |
Happy to do something sync, but likely you will see it to. Basically we want three sound features, and have to duplicate something 3 times to get it:
All of which to be the same Some more specifics:
I would highly recommend @jbphet puts some eyes on the code linked above. I'm happy to help in the cleanup if desired, but it seems like you all have a good design and can execute from here. I have no skin in the game, but was just running up against a lot of duplication needs for the sound generation. |
04/07 with @arouinfar and @jonathanolson: Hey @jbphet, as this is no longer a My Solar System issue, if you think this should be worked on, could you transfer the necessary comments to a Sun issue and close this one? |
I'm not really sure what you mean, there are so many problems with sound in SolarSystemCommonNumberControl. @samreid and I wrote hacky "talking points" as we were working on the problem 2 months ago and now it has been long enough that we can just put those into production?
|
Ok. @jbphet @AgustinVallejo and I met and had a productive time. There are three sub issues, but generally we will want an issue to hone in on some NumberControl + sound common fixes (in another issue phetsims/scenery-phet#806). I believe a good number of those items should block publication of this, and may require cleanup over here once complete, so I'll mark as blocked and blocking :) |
@jbphet Fixed this in phetsims/scenery-phet#806, thanks! Closing |
In phetsims/solar-system-common@7404291 buttons were added to this solar system common slider. This should instead be a NumberControl because you get a lot of support for free with that solution. I'll take a look!
The text was updated successfully, but these errors were encountered: