diff --git a/js/BicyclePumpNode.ts b/js/BicyclePumpNode.ts index 5ae2af2bb..ce831bf83 100644 --- a/js/BicyclePumpNode.ts +++ b/js/BicyclePumpNode.ts @@ -134,7 +134,8 @@ export default class BicyclePumpNode extends Node { handleCursor: 'ns-resize', // NodeOptions - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'PumpNode' }, providedOptions ); const width = options.width; diff --git a/js/ClapperboardButton.ts b/js/ClapperboardButton.ts index 540232995..c960102ce 100644 --- a/js/ClapperboardButton.ts +++ b/js/ClapperboardButton.ts @@ -68,7 +68,8 @@ class ClapperboardButton extends Node { }, // phet-io - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'Button' }, providedOptions ); super( options ); diff --git a/js/EyeDropperNode.ts b/js/EyeDropperNode.ts index 8ef025cc4..3e35a818d 100644 --- a/js/EyeDropperNode.ts +++ b/js/EyeDropperNode.ts @@ -84,7 +84,8 @@ export default class EyeDropperNode extends Node { // NodeOptions cursor: 'pointer', - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'DropperNode' }, provideOptions ); super(); diff --git a/js/FaucetNode.ts b/js/FaucetNode.ts index 757459f65..4d3cea2f7 100644 --- a/js/FaucetNode.ts +++ b/js/FaucetNode.ts @@ -106,6 +106,7 @@ export default class FaucetNode extends AccessibleSlider( Node, 0 ) { // phet-io tandem: Tandem.REQUIRED, + tandemSuffix: 'FaucetNode', phetioType: FaucetNode.FaucetNodeIO, phetioEventType: EventType.USER }, providedOptions ); diff --git a/js/FineCoarseSpinner.ts b/js/FineCoarseSpinner.ts index 2b0792c25..5458469d6 100644 --- a/js/FineCoarseSpinner.ts +++ b/js/FineCoarseSpinner.ts @@ -48,6 +48,7 @@ export default class FineCoarseSpinner extends Node { // NodeOptions disabledOpacity: 0.5, // {number} opacity used to make the control look disabled tandem: Tandem.REQUIRED, + tandemSuffix: 'Spinner', phetioEnabledPropertyInstrumented: true }, providedOptions ); diff --git a/js/GaugeNode.ts b/js/GaugeNode.ts index d030ad8d6..d27e93341 100644 --- a/js/GaugeNode.ts +++ b/js/GaugeNode.ts @@ -82,7 +82,8 @@ export default class GaugeNode extends Node { updateWhenInvisible: true, // NodeOptions - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'Node' }, providedOptions ); assert && assert( options.span <= 2 * Math.PI, `options.span must be <= 2 * Math.PI: ${options.span}` ); diff --git a/js/HeaterCoolerFront.ts b/js/HeaterCoolerFront.ts index 8312484e8..b9806a54e 100644 --- a/js/HeaterCoolerFront.ts +++ b/js/HeaterCoolerFront.ts @@ -123,6 +123,7 @@ export default class HeaterCoolerFront extends Node { // NodeOptions tandem: Tandem.REQUIRED, + tandemSuffix: 'HeaterCoolerNode', phetioType: Node.NodeIO }, providedOptions ); diff --git a/js/HeaterCoolerNode.ts b/js/HeaterCoolerNode.ts index 3556216f0..5763941a8 100644 --- a/js/HeaterCoolerNode.ts +++ b/js/HeaterCoolerNode.ts @@ -61,7 +61,8 @@ export default class HeaterCoolerNode extends Node { baseColor: HeaterCoolerFront.DEFAULT_BASE_COLOR, // NodeOptions - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'HeaterCoolerNode' }, providedOptions ); this.heatCoolAmountProperty = heatCoolAmountProperty; diff --git a/js/LaserPointerNode.ts b/js/LaserPointerNode.ts index 5441c3561..78830f877 100644 --- a/js/LaserPointerNode.ts +++ b/js/LaserPointerNode.ts @@ -112,7 +112,8 @@ const DEFAULT_OPTIONS = optionize( { - tandem: options.tandem.createTandem( 'playPauseStepButtons' ) + tandem: options.tandem.createTandem( 'playPauseStepButtonGroup' ) }, options.playPauseStepButtonOptions ) ); children.push( this.playPauseStepButtons ); diff --git a/js/TimeSpeedRadioButtonGroup.ts b/js/TimeSpeedRadioButtonGroup.ts index 585fbf554..f0a953f5d 100644 --- a/js/TimeSpeedRadioButtonGroup.ts +++ b/js/TimeSpeedRadioButtonGroup.ts @@ -52,6 +52,7 @@ export default class TimeSpeedRadioButtonGroup extends VerticalAquaRadioButtonGr // phetio tandem: Tandem.REQUIRED, + tandemSuffix: 'RadioButtonGroup', // pdom labelTagName: 'h4', diff --git a/js/WavelengthNumberControl.ts b/js/WavelengthNumberControl.ts index 5fc6a0bab..9360f76b7 100644 --- a/js/WavelengthNumberControl.ts +++ b/js/WavelengthNumberControl.ts @@ -67,7 +67,8 @@ export default class WavelengthNumberControl extends NumberControl { height: DEFAULT_THUMB_HEIGHT, cursorHeight: DEFAULT_TRACK_SIZE.height }, - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'Control' }, providedOptions ); const trackNode = new SpectrumSliderTrack( wavelengthProperty, options.range, diff --git a/js/ZoomButtonGroup.ts b/js/ZoomButtonGroup.ts index 70e610beb..2fbdee799 100644 --- a/js/ZoomButtonGroup.ts +++ b/js/ZoomButtonGroup.ts @@ -69,7 +69,8 @@ export default class ZoomButtonGroup extends FlowBox { spacing: 0, orientation: 'horizontal', align: 'center', - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'ZoomButtonGroup' }, providedOptions ); // zoom in diff --git a/js/accessibility/GrabDragInteraction.js b/js/accessibility/GrabDragInteraction.js index b083a51d8..7c9dcf6c3 100644 --- a/js/accessibility/GrabDragInteraction.js +++ b/js/accessibility/GrabDragInteraction.js @@ -166,7 +166,8 @@ class GrabDragInteraction extends EnabledComponent { }, // {Tandem} - For instrumenting - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'GrabDragInteraction' }, options ); // a second block for options that use other options, therefore needing the defaults to be filled in diff --git a/js/bucket/BucketFront.ts b/js/bucket/BucketFront.ts index 23779f3ad..6f7afae33 100644 --- a/js/bucket/BucketFront.ts +++ b/js/bucket/BucketFront.ts @@ -32,6 +32,7 @@ export default class BucketFront extends Node { const options = optionize, NodeOptions>()( { tandem: Tandem.REQUIRED, + tandemSuffix: 'BucketFrontNode', cursor: 'pointer' }, providedOptions ); diff --git a/js/buttons/PlayPauseStepButtonGroup.ts b/js/buttons/PlayPauseStepButtonGroup.ts index 6b3c118cb..1d1adcf92 100644 --- a/js/buttons/PlayPauseStepButtonGroup.ts +++ b/js/buttons/PlayPauseStepButtonGroup.ts @@ -92,6 +92,7 @@ export default class PlayPauseStepButtonGroup extends HBox { // phet-io tandem: Tandem.REQUIRED, + tandemSuffix: 'ButtonGroup', // pdom tagName: 'div', // so that it can receive descriptions diff --git a/js/buttons/RefreshButton.ts b/js/buttons/RefreshButton.ts index cc045dca8..39cb4df7e 100644 --- a/js/buttons/RefreshButton.ts +++ b/js/buttons/RefreshButton.ts @@ -31,7 +31,9 @@ export default class RefreshButton extends RectangularPushButton { iconHeight: 35, // RectangularPushButtonOptions - baseColor: PhetColorScheme.BUTTON_YELLOW + baseColor: PhetColorScheme.BUTTON_YELLOW, + + tandemSuffix: 'RefreshButton' }, providedOptions ); options.content = new Path( syncAltSolidShape, { diff --git a/js/buttons/ResetAllButton.ts b/js/buttons/ResetAllButton.ts index 3e47c5126..0b40e3d28 100644 --- a/js/buttons/ResetAllButton.ts +++ b/js/buttons/ResetAllButton.ts @@ -55,6 +55,7 @@ export default class ResetAllButton extends ResetButton { // phet-io tandem: Tandem.REQUIRED, + tandemSuffix: 'ResetAllButton', phetioDocumentation: 'The orange, round button that can be used to restore the initial state', // sound generation diff --git a/js/buttons/ResetButton.ts b/js/buttons/ResetButton.ts index abf92ba42..ea2c8862f 100644 --- a/js/buttons/ResetButton.ts +++ b/js/buttons/ResetButton.ts @@ -49,7 +49,8 @@ export default class ResetButton extends RoundPushButton { xContentOffset: -0.03 * BUTTON_RADIUS, yContentOffset: -0.0125 * BUTTON_RADIUS, - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'ResetButton' }, providedOptions ); // icon, with bounds adjusted so that center of circle appears to be centered on button, see sun#235 diff --git a/js/buttons/ZoomButton.ts b/js/buttons/ZoomButton.ts index 2557d6dbc..dfffa4fe4 100644 --- a/js/buttons/ZoomButton.ts +++ b/js/buttons/ZoomButton.ts @@ -37,7 +37,8 @@ export default class ZoomButton extends RectangularPushButton { // RectangularPushButtonOptions baseColor: PhetColorScheme.BUTTON_YELLOW, - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'Button' }, providedOptions ); // Plus or minus sign in middle of magnifying glass diff --git a/js/input/MovableDragHandler.js b/js/input/MovableDragHandler.js index c4936ab7b..d294e6dea 100644 --- a/js/input/MovableDragHandler.js +++ b/js/input/MovableDragHandler.js @@ -39,7 +39,8 @@ class MovableDragHandler extends SimpleDragHandler { // the target can be overridden here. This is useful when you need to attach a listener to a sub-component // of a node hierarchy targetNode: null, - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'DragListener' }, options ); let startOffset; // where the drag started relative to positionProperty, in parent view coordinates diff --git a/js/keypad/Keypad.js b/js/keypad/Keypad.js index 309d5bdf3..c486822e2 100644 --- a/js/keypad/Keypad.js +++ b/js/keypad/Keypad.js @@ -67,7 +67,8 @@ class Keypad extends Node { accumulatorOptions: null, // phet-io - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'Keypad' }, options ); super(); diff --git a/js/keypad/NumberAccumulator.js b/js/keypad/NumberAccumulator.js index 57a60af89..2f9f47021 100644 --- a/js/keypad/NumberAccumulator.js +++ b/js/keypad/NumberAccumulator.js @@ -38,7 +38,8 @@ class NumberAccumulator extends AbstractKeyAccumulator { options = merge( { maxDigitsRightOfMantissa: 0, maxDigits: MAX_DIGITS, - tandem: Tandem.REQUIRED + tandem: Tandem.REQUIRED, + tandemSuffix: 'NumberAccumulator' }, options ); // verify option values