-
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
complete the "Real Molecules" screen #32
Comments
From phethelp:
|
Status for 1/6/2022 quarterly-planning meeting: The status of this is unchanged since the last meeting:
|
More strict assertions introduced in phetsims/sun#920 make a workaround here more difficult. The simulation fails CTQ with:
To resolve CTQ for now, I will remove the workaround in molecule-polarity/js/common/model/MPPreferences.ts Lines 25 to 37 in f376310
|
@samreid I have concerns about e04b6bd and https://github.com/phetsims/phet-io-sim-specific/commit/762977427724d351a5d9900f8f241c73bffa5a8e. I don't think we want to be adding PhET-iO elements related to the Real Molecules screen, as it appears you've done for |
Here's a patch for what I think is a preferrable way to address the new constraints introduced for AquaRadioButtonGroup in phetsims/sun#920. It does change the published API in that it uninstruments @samreid do you see any problem with this? patchSubject: [PATCH] revert to "Spectrometer" for accordion box title
---
Index: js/common/model/MPPreferences.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/common/model/MPPreferences.ts b/js/common/model/MPPreferences.ts
--- a/js/common/model/MPPreferences.ts (revision c3d2361c28db53cd98edba385e7ce59da17f0c58)
+++ b/js/common/model/MPPreferences.ts (date 1735618395876)
@@ -27,8 +27,9 @@
MPQueryParameters.surfaceColor as SurfaceColor, {
validValues: SurfaceColorValues,
- // TODO: It would be preferable to uninstrument this when running without the Real Molecules screen, which is not yet phet-io instrumented, see https://github.com/phetsims/molecule-polarity/issues/32
- tandem: Tandem.PREFERENCES.createTandem( 'surfaceColorProperty' ),
+ //TODO When Real Molecules screen is eventually implemented, make this tandem change. See https://github.com/phetsims/molecule-polarity/issues/32
+ // tandem: Tandem.PREFERENCES.createTandem( 'surfaceColorProperty' ),
+ tandem: Tandem.OPT_OUT,
phetioDocumentation: 'color scheme for the Electrostatic Potential surface in the Real Molecules screen',
phetioFeatured: true
} )
Index: js/common/view/MPPreferencesNode.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/common/view/MPPreferencesNode.ts b/js/common/view/MPPreferencesNode.ts
--- a/js/common/view/MPPreferencesNode.ts (revision c3d2361c28db53cd98edba385e7ce59da17f0c58)
+++ b/js/common/view/MPPreferencesNode.ts (date 1735618395869)
@@ -13,6 +13,7 @@
import optionize, { EmptySelfOptions } from '../../../../phet-core/js/optionize.js';
import PickRequired from '../../../../phet-core/js/types/PickRequired.js';
import { VBox, VBoxOptions } from '../../../../scenery/js/imports.js';
+import Tandem from '../../../../tandem/js/Tandem.js';
import moleculePolarity from '../../moleculePolarity.js';
import MPPreferences from '../model/MPPreferences.js';
import MPQueryParameters from '../MPQueryParameters.js';
@@ -41,7 +42,9 @@
} );
const surfaceColorControl = new SurfaceColorControl( MPPreferences.surfaceColorProperty, {
- tandem: options.tandem.createTandem( 'surfaceColorControl' )
+ //TODO When Real Molecules screen is eventually implemented, make this tandem change. See https://github.com/phetsims/molecule-polarity/issues/32
+ // tandem: options.tandem.createTandem( 'surfaceColorControl' )
+ tandem: Tandem.OPT_OUT
} );
//TODO https://github.com/phetsims/molecule-polarity/issues/32 |
Yes, that seems sensible to me. Will we need to add a corresponding |
Yes, we'll need a |
@pixelzoom anything else here? |
It does seem we need a migration processor after all, not due to |
👍🏻 Closing. |
Reopening because there is a TODO marked for this issue. |
Oops, I should not have closed this issue -- which is about completing the Real Molecules screen, and not about addressing changes related to phetsims/sun#920. In retrospect, it would have been preferrable to create a new issue to address those changes. |
Because of the time involved in implementing a 3D molecule viewer (#15), the decision was made to publish Molecule Polarity without the Real Molecules screen (#27).
When the Real Molecules screen is added in a future version, here's what needs to be done:
The text was updated successfully, but these errors were encountered: