Joist is the main framework for PhET Interactive Simulations. Joist creates and displays the simulation content, home screen, navigation bar, About dialog, enables switching between tabs, and other framework-related features.
MIT License
8
stars
6
forks
source link
Region and Culture query parameter should be graceful and future proof #974
Vital that if you provide a regionAndCulture that we generally accept in the “Main list”, then it doesn’t provide an “invalid dialog”
PhET-iO standard wrapper must support providing this parameter.
Designers are accepting of two solutions, up to devs what is easiest/best
No validation beyond alphabetical characters, then graceful fallback if something isn’t available for that sim.
Validate based on the main superset of all supported region and cultures, and provide the invalid dialog if there is a value that isn’t in that main list, and still be graceful if that sim doesn’t have that region and culture as a supported value.
@jonathanolson @brent-phet and I are going to pursue the "no validation" strategy for this.
open questions:
Since there won't be a QSM warning dialog in phet brand, are we going to list supported regions in teacher tips or somewhere else?
From conversations in https://docs.google.com/document/d/1-nqTlDtLtPB8JrdDrE8KdJB-4Phwe6QvTV_UnsZrteg/edit and https://github.com/phetsims/projectile-data-lab/issues/324
Design requirements:
Designers are accepting of two solutions, up to devs what is easiest/best
@jonathanolson @brent-phet and I are going to pursue the "no validation" strategy for this.
open questions: