Skip to content

Commit

Permalink
Update TODOs, see #45
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 5, 2023
1 parent ca1c1cc commit e46e2d6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion js/common/view/CAVScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default class CAVScreenView extends ScreenView {
} ) );

// Soccer balls go behind the accordion box after they land
// TODO: Why is the back layer in the front?
// TODO: Why is the back layer in the front? See https://github.com/phetsims/center-and-variability/issues/176
this.contentLayer.addChild( this.backObjectLayer );
}

Expand Down
2 changes: 1 addition & 1 deletion js/median/view/CardNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default class CardNode extends Node {
if ( destination.equals( this.animationTo! ) ) {

// Already moving to the desired destination.
// TODO: should this callback be called from the finishEmitter of the existing animation?
// TODO: should this callback be called from the finishEmitter of the existing animation? See https://github.com/phetsims/center-and-variability/issues/177
callback();
return;
}
Expand Down
2 changes: 1 addition & 1 deletion js/median/view/CardNodeContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default class CardNodeContainer extends Node {

if ( isPressed ) {

// TODO: multitouch concerns. Should it be null|true|false? Or maybe after celebration, set it to true because we know it is sorted?
// TODO: multitouch concerns. Should it be null|true|false? Or maybe after celebration, set it to true because we know it is sorted? See https://github.com/phetsims/center-and-variability/issues/178
this.wasSortedBefore = this.isDataSorted();
}

Expand Down
2 changes: 1 addition & 1 deletion js/variability/model/VariabilityModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default class VariabilityModel extends CAVModel {

public constructor( options: VariabilityModelOptions ) {

// TODO: the parent class sets this incorrectly on reset.
// TODO: the parent class sets this incorrectly on reset. See https://github.com/phetsims/center-and-variability/issues/164
// TODO: See https://github.com/phetsims/center-and-variability/issues/117. PhET-iO wants to be able to set these values. Maybe in the preferences, we would also add a "custom"
// option that would allow the user to specify the distribution parameters. Or for PhET-iO, and query parameters
const sceneModels = [
Expand Down
2 changes: 1 addition & 1 deletion js/variability/view/InfoDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class InfoDialog extends Dialog {

super( content, {

// TODO: It seems there are 2 ways to hide the dialog. Is there a better way?
// TODO: It seems there are 2 ways to hide the dialog. Is there a better way? See https://github.com/phetsims/center-and-variability/issues/179
hideCallback: () => model.isInfoShowingProperty.set( false )
} );
}
Expand Down
2 changes: 1 addition & 1 deletion js/variability/view/MADInfoNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import VariabilitySceneModel from '../model/VariabilitySceneModel.js';
export default class MADInfoNode extends VBox {
public constructor( model: VariabilityModel, sceneModel: VariabilitySceneModel, options: PickRequired<PhetioObject, 'tandem'> ) {

// TODO: The design calls for a depiction of the mean location. This is not yet implemented.
// TODO: The design calls for a depiction of the mean location. This is not yet implemented. See https://github.com/phetsims/center-and-variability/issues/180
const hasEnoughDataProperty = new DerivedProperty( [ sceneModel.numberOfDataPointsProperty ], numberOfDataPoints => numberOfDataPoints >= 1 );

const numeratorText = new Text( '', { fontSize: 16 } );
Expand Down

0 comments on commit e46e2d6

Please sign in to comment.