phetsims / greenhouse-effect

"Greenhouse Effect" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 4 forks source link

Code review #331

Closed jbphet closed 1 year ago

jbphet commented 1 year ago

PhET Code-Review Checklist (a.k.a "CRC")

Specific Instructions

Greenhouse Effect is ready for code review. This sim is a bit unusual for a couple of reasons. One is that it is already available on the main site because it had been published as a prototype and then a decision was made to promote it to a full release. Another is that it contains all of the code for the Molecules and Light (M&L) sim, since one of the screens of Greenhouse Effect was supposed to be a variation of the M&L behavior, but that has not happened yet. So, for this review, please do not review any of the code in the "micro" directory. The primary functional difference between the code that was published a few months ago and the current code on master is that support for phet-io has been added to the 2nd and 3rd screens and improved in the first.

GitHub Issues

The following standard GitHub issues should exist. If these issues are missing, or have not been completed, pause code review until the issues have been created and addressed by the responsible dev.

Build and Run Checks

If any of these items fail, pause code review.

Memory Leaks

Performance

Usability

Internationalization

  "material.water": {
    "value": "Water"
  },
  "material.wood": {
    "value": "Wood"
  },
  "shape.block": {
    "value": "Block"
  },
  "shape.cone": {
    "value": "Cone"
  },

Nested substructure is not yet fully supported.

Repository Structure

Coding Conventions

TypeScript Conventions

Math Libraries

IE11

Organization, Readability, and Maintainability

Accessibility

This sim supports alternative input, and some amount of description has been implemented, but it is not complete. The general plan is that full description will be implemented "later", but it is not clear at this time when that will be. For the purposes of this review, code related to description should be largely ignored since it is likely to change quite a bit when the time is taken to fully implement it.

General

Alternative Input

PhET-iO

This section may be omitted if the sim has not been instrumented for PhET-iO, but is likely good to glance at no matter.

pixelzoom commented 1 year ago

Code review is done. The sim is in great shape. All issues that I created are linked above, and there were no "REVIEW" comments added to the code. Note the ❌ and ⚠️ annotations in the checklist above. Back to @jbphet...

jbphet commented 1 year ago

Everything above has been addressed and the sim is now in the RC stage, so I'm going to go ahead and close this.