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

CODAP wrapper - Enable opt-out of data stream variables via query params #253

Closed matthew-blackman closed 3 months ago

matthew-blackman commented 4 months ago

Notes from 3/15 meeting with @joeyliu95511:

Joey stated that he would like to be able to 'opt out' of certain data stream variables, rather than needing to opt-in to everything else. Let's update the query parameter pattern from a flag to a boolean, so that users can add query parameters like 'sampleNumber=false' to opt-out of certain quantities.

samreid commented 3 months ago

In discussion, @matthew-blackman and I believe it will be simplest for us and our clients to supply a URL like:

sim?horizontalDistance&sampleNumber&.... etc

and clients can easily delete the ones they don't want. This will be much easier that trying to support an "opt-in" strategy plus an "opt-out" strategy which leads to questions like what happens when a client unwittingly mixes strategies.

Closing.