-
Notifications
You must be signed in to change notification settings - Fork 6
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
Should Mass values round to an even 50 kg or 100 kg with default steps? #133
Comments
Great question @terracoda. Recently, we have used the
I definitely think we would want to do something similar to GFL. I think steps of 50 kg would be most ideal, because it provides a wider range of options for students to explore with the slider thumb. If the step size is too large, it will take a lot of tweaker/shift modifier key presses to adjust to a specific value. The range being 1-1000 kg makes things a little trickier. I don't know if If a user uses the tweaker (or shift modifier) to adjust the value to 173 kg, then the value would jump down to 150 kg or up to 200 kg, depending on which arrow key was pressed. The same goes for a mouse user -- the slider thumb would snap to the next step. |
Just making a note that this is common issue with Gravity Force Lab Basics. |
Actually, I lied this is only an issue for Gravity Force Lab REGULAR. There is no slider with tweakers in BASICS. |
@terracoda and @zepumph to discuss this issue when work on GFL BASICS is on track. Un-assigning for now. |
Marking onhold until BASICS is in good shape. This issue is not directly relevant to BASICS. |
Removing on-hold. I think we will want to round, but I need to review the example. |
@zepumph, in this sim the mass slider is a slider (not a number spinner with fixed values like in GFLB). @arouinfar and I would like there to be some built-in rounding for the mass values, similar to how the sliders work on Pendulum Lab. @arouinfar mentioned they used
The rounding should work similarly with the Pg Up and Pg Down keys, but snap to 100 kg instead of 50 kg. |
@zepumph, let me know if you have any questions. |
@terracoda over in #173 we made the slider jump by 50. We also made the min value 10kg. I then just added the ability for it to round to default step size. This does not happen with page step, by design. Let me know what you think. Please note that shift keyboard step is currently broken, and will be solved over in phetsims/scenery-phet#528. |
@zepumph, I think it would make sense to do the same rounding with Pg Up key, that is the first jump should go to 100 kilograms. If this is hard to do we can discuss, as it is not difficult to get the values to a round 100 by switching back to the arrow keys. |
This sounds reasonable to investigate, but I have a further question first. If you use plain arrow keys to select 150kg, then what would you like to pg up and pg down keys to do? Round to the nearest hundred? or go up by 100? I think it makes the most sense to me to keep things the way they are. If you disagree, the next step would be to change the I think that this would actually be a fair bit of work to implement, but I also think it could be a good step in generalizing a11y interaction steps in the future. Right now everything for a slider is based on the The next step for this issue is for @terracoda to describe how important this change is to her, as it may be best to kick these improvements off until we need this again. |
@zepumph, I agree, we can
It's easy to get back to the basic even rounding if that is what the user wants to do by going back to using the arrow keys. |
And, in addition hitting the end will also get things back to even rounding, so, yes, let's leave this for now. @zepumph, do we close this issue, or put it on hold? |
Close sounds good to me. |
@arouinfar, I have been playing a lot with GFL and I am wondering if it makes sense pedagogically to round the Mass values with using a keyboard to the nearest 50 kg or 100 kg?
For example, when I decrease a Mass to 1 kg and the start increasing again, the value goes up by 50 kg, so I get 1 kg, then 51 kg, then 101 kg, 151 kg, etc ...
Questions:
I realize this is not a snap-to slider, but I am still wondering if rounding should happen, and when it should happen.
Rounding for the position sliders is much more complicated, so I am just asking about what would be pedagogically useful for the Mass sliders.
I will tag @emily-phet and @ariel-phet in case they would like to chime in.
Edit: I made a few edits in bold to fix typos and clarify.
The text was updated successfully, but these errors were encountered: