-
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
Add a panel to display % Submerged #112
Comments
The above commit improves on this panel. Still missing:
|
Added to the preferences dialog, noting to change the default to false in DensityBuoyancyCommonQueryParameters before moving on (or move on and remember way down the line, it's okay) |
I was just taking a look at the new and improved ReadoutListAccordionBox. I love it! I really like how much we can factor out with setReadout. I believe we can make things much simpler and more suave with a parametric type. If we have a list that can be typesafe, we may be able to move some of the implementation of setReadout to the supertype. Basic outline:
I'd just like to think about if this would be helpful. Let's talk about it tomorrow. |
@zepumph this question comes up often and I think the answer is always to leave the other components floating there. The same happened multiple times in MSS and Keplers. I would check off that item. |
Signed-off-by: Michael Kauzmann <[email protected]>
…uoyancy#112 Signed-off-by: Michael Kauzmann <[email protected]>
Signed-off-by: Michael Kauzmann <[email protected]>
Signed-off-by: Michael Kauzmann <[email protected]>
Signed-off-by: Michael Kauzmann <[email protected]>
Signed-off-by: Michael Kauzmann <[email protected]>
Signed-off-by: Michael Kauzmann <[email protected]>
|
Please note that I too am making changes to ReadoutAccordionBox over in #96 (AV and I have discussed this, but I'm adding a paper trail). |
This issue has been getting some commits that probably rather belong in phetsims/density-buoyancy-common#105 Assigning this issue back to @DianaTavares to check if the Submerged Accordion Box is ready. In that case, please close. |
@DianaTavares I believe you can still rework on the review in Buoyancy. |
I believe that we are having trouble with the new Property for tracking submerged. On CT is seems like we are trying to set it NaN sometimes. Can you take a look? |
@DianaTavares Please note that this feature is not working when gravity is 0. See #124 |
On our way to close this monster issue. Creating issues for the remaining work:
|
Reopening because there is a TODO marked for this issue. |
Ha, we were so close! Unfortunately both of those TODOs seem good to discuss. @AgustinVallejo let's talk about them. |
Addressed the colorProperty TODO in the above commit, while improving the way those custom explore options were mapped. Left the other one open since I'd like to discuss: As we're returning that pattern conditionally, I'm not sure if creating a PatternStringProperty right there is the right way to go, or would cause memory leaks. |
To add this panel, first #32 needs to be solved.
Preference to show/hide this feature in the Simulation Panel
Title: Percent submerged readout
Query Parameter: percentSubmergedReadout
Default true in Basics, Default false in full Buoyancy
Here are the mockups of its position in each screen:
Intro
Explore
Shapes
Bottle
Observe how, as this is the only object on the screen, the number is bigger and centered:
Boat
Observe that the name in the panel said "% Boat submerged" because in this case, we want to know the percentage of the boat and not the block.
The text was updated successfully, but these errors were encountered: