phetsims / forces-and-motion-basics

"Forces and Motion: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/forces-and-motion-basics
GNU General Public License v3.0
7 stars 10 forks source link

Pixel Polishing for Redeploy #166

Closed jessegreenberg closed 8 years ago

jessegreenberg commented 8 years ago

On 3/3/16 @jessegreenberg met with @ariel-phet to discuss some pixel polishing that needs to be done before the redeploy of Forces and Motion: Basics. This issue will track those items:

jessegreenberg commented 8 years ago

Sum of Forces checkbox should be disabled when 'Forces' Checkbox is not checked.

MotionControlPanel uses VerticalCheckBoxGroup whhich does not support disabled check boxes. For this feature, we either need to support disabled check boxes in VerticalCheckBoxGroup, or create custom VBoxes for the check box groups.

jessegreenberg commented 8 years ago

VerticalCheckBoxGroup is to phase out in preference for a general layout strategy (https://github.com/phetsims/sun/issues/30). To handle disabled checkboxes, we will need a new control panel that uses VBoxes instead of VerticalCheckBoxGroup.

jessegreenberg commented 8 years ago

we will need a new control panel that uses VBoxes instead of VerticalCheckBoxGroup.

Done via https://github.com/phetsims/forces-and-motion-basics/commit/eab5af8571150134768b616660bd06dd6f77c9b8

jessegreenberg commented 8 years ago

'Sum of Forces' check box disabled when 'Forces' check box unchecked.

jessegreenberg commented 8 years ago

When the user interacts with the pusher, the sim should automatically start playing again if paused

Done with commit https://github.com/phetsims/forces-and-motion-basics/commit/936f00ac2b3dafe0010e3607ae12a0692d696299.

This was done to prevent the sim from seeming broken if it is paused. But I wonder if it could be frustrating to users that are trying to set a state of forces with the pusher when the sim is paused.

jessegreenberg commented 8 years ago

https://github.com/phetsims/forces-and-motion-basics/commit/eea0feb665a1afdfd5cda80a0357ae772b1f05af completes

Lock sum of forces label in place, it should not translate vertically

jessegreenberg commented 8 years ago

Sum of Forces checkbox should be disabled when 'Forces' Checkbox is not checked.

This is no longer desired, see https://github.com/phetsims/forces-and-motion-basics/issues/167 Check list updated.

jessegreenberg commented 8 years ago

All items in checklist completed. Here is a dev version where these items can be reviewed: http://www.colorado.edu/physics/phet/dev/html/forces-and-motion-basics/1.1.5-dev.16/forces-and-motion-basics_en.html

Assigning to @ariel-phet to review.

I will also submit this version for dev testing. At this point many features have been added and should be tested before an RC. Remaining issues for the redeploy should be minimal and can be added before the RC for the deploy.

jessegreenberg commented 8 years ago

In 3/17/16 status meeting @ariel-phet reported some performance issues on his machine as well as a layout issue on the 'Friction' screen for the check boxes now that their layout has changed. These issues should be addressed before a dev version is reviewed and tested. Reassigning to myself.

jessegreenberg commented 8 years ago

172 is the last issue that needs to be investigated before a dev version is ready for review and testing.

jessegreenberg commented 8 years ago

The version id needs to be bumped for this release as well. See https://github.com/phetsims/forces-and-motion-basics/issues/172#issuecomment-202546870

jessegreenberg commented 8 years ago

@ariel-phet here is the dev version that was submitted for dev testing: http://www.colorado.edu/physics/phet/dev/html/forces-and-motion-basics/2.0.0-dev.1/forces-and-motion-basics_en.html

Would you please also review the new features in this version and review the pixel polishing changes associated with this issue? Let me know if any further changes are necessary.

phet-steele commented 8 years ago

@jessegreenberg, the thumb of the sliders was never updated to the common one. FAMB has a unique looking thumb with six little dots. Do we want to change this to the normal thumb? thumb

ariel-phet commented 8 years ago

@jessegreenberg a few either minor pixel polishes

famb friction

jessegreenberg commented 8 years ago

Do we want to change this to the normal thumb?

I asked @ariel-phet this a few weeks ago, and we decided to keep this custom thumb style for the motion screens.

phet-steele commented 8 years ago

@jessegreenberg :+1:

jessegreenberg commented 8 years ago

For case when friction force and applied force are in the same direction move the "Friction Force" label up to be closer to the friction arrow,

Done in above commit. This removes the overlapping with the 'masses' label, but the friction force value is a bit harder to read now. capture

jessegreenberg commented 8 years ago

@ariel-phet here is a dev version with these changes:

http://www.colorado.edu/physics/phet/dev/html/forces-and-motion-basics/2.0.0-dev.2/forces-and-motion-basics_en.html

Assigning to you again for review.

ariel-phet commented 8 years ago

@jessegreenberg two things:

  1. How about in that overlapping case if you just right "94 N" to the right of "Friction Force" I think that will make it easier to read and not have much interference with other things
  2. On the motion screen it looks like objects are sitting a pixel or two too low on the skateboard instead of right on top of it

box

ariel-phet commented 8 years ago

BTW, this slight misalignment exists in the deployed version (but seems like it would be good to fix)

jessegreenberg commented 8 years ago

@ariel-phet here is a new dev version with these changes. Would you mind reviewing this version and letting me know if anything else needs to be adjusted?

http://www.colorado.edu/physics/phet/dev/html/forces-and-motion-basics/2.0.0-dev.2/forces-and-motion-basics_en.html

EDIT: corrected link

ariel-phet commented 8 years ago

@jessegreenberg all looks great! Closing