phetsims / geometric-optics

Geometric Optics is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 5 forks source link

Fold Options into Preferences #440

Closed pixelzoom closed 1 year ago

pixelzoom commented 2 years ago

Related to https://github.com/phetsims/joist/issues/837 ... @kathy-phet asked me to focus on Geometric Optics for Preferences dialog integration.

Some of this has already been handled by @zepumph in https://github.com/phetsims/joist/issues/837.

pixelzoom commented 2 years ago

This is ready for PhET-iO design review by @arouinfar.

If you'd like to compare "before" and "after", use 1.2.0-dev.1 for "before" and master for "after".

Summary of changes:

arouinfar commented 1 year ago

@pixelzoom thanks for summarizing the changes. I reviewed both sims, and the Preferences dialog and corresponding elements in the tree all look good. Housing the properties in global.model.preferences makes a lot of sense to me. Anything else to do here?

pixelzoom commented 1 year ago

All done, closing.