Closed KatieWoe closed 1 month ago
Actually, this looks like it's already addressed in the examples doc, so it can probably be closed.
I asked about this same thing in the Buoyancy slack channel! Here is the response:
Sam Reid My understanding is that the range shown there (at the bottom) is the total composite range for any material. It is static and unchanging, whereas the enabledRange is able to change. But studio (at the bottom) is supposed to show the static range, not the dynamic enabledRange.
Kathy Perkins @arouinfar should weigh in on this question as well.
Amy Rouinfar
Yes, that behavior is fine. The examples clarifies that resultant volume needs to be 1-10L and recommends clients first refer to enabledRangeProperty before setting mass.
Nancy Salpepi
Wondering if that statement in the examples should come before the massProperty phetio IDs or do you think it is OK as is @arouinfar?
I noticed this discrepancy with the mystery fluids, which doesn't make sense to me.
@KatieWoe your last comment is part of issue #405
Ahh, thanks
Ok great. Yes I believe all the actionables are in https://github.com/phetsims/density-buoyancy-common/issues/405 and examples.md. Closing.
Oh, we need to update examples. @arouinfar can you add this sentiment from the above comment:
Wondering if that statement in the examples should come before the massProperty phetio IDs or do you think it is OK as is @arouinfar?
In the above commits, I made minor wording changes and combined the phetioIDs into a single list so folks encounter massProperty
and enabledRangeProperty
together.
Since these are the same commits as the changes in #400, we can close this issue and handle the cherry-picks over there.
Device Samsung OS Win 11 Browser Chrome Problem Description For https://github.com/phetsims/qa/issues/1141 In studio, the mass ranges given for blocks may not take into account the material the block is currently made of. For example, the range for
buoyancy.exploreScreen.view.blockAPanel.massNumberControl.massProperty
is .1-27, but depending on the material is usually smaller than that.Visuals