phetsims / projectile-data-lab

"Projectile Data Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 0 forks source link

FieldIO instrumentation simplifications #330

Closed pixelzoom closed 3 months ago

pixelzoom commented 4 months ago

PDL was used as an exemplar for instrumenting Gas Properties. While working on https://github.com/phetsims/gas-properties/issues/77 and https://github.com/phetsims/gas-properties/issues/231 with @zepumph, we noted the following things about the implementation of FieldIO:

According to @zepumph, the above changes will change the PhET-iO API, but will not require migration processors.

samreid commented 4 months ago

I applied the changes above and tested in the state wrapper (I tested a VSM screen and the sampling screen). Seems to be working OK. @matthew-blackman can you please review/test?

matthew-blackman commented 3 months ago

Reviewed and tested. This is working well and the code looks great. Nice job! Closing.