-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use ColorProfile in all new sims #642
Comments
Having a ColorProfile also makes it much simpler for designers to play with colors on a local copy. |
At dev meeting today, we decided that this makes sense. Every sim will have a color profile. We didn't feel like every single color in the sim needed to run on this though. For example every Text fill. But if you feel like designers may want to play around with colors, or if PhET-iO may want clients to customize colors. @samreid wondered if there was some amount that is over-doing this, for example 30 matches of @pixelzoom will take care of the automating steps above. @ariel-phet doesn't want this in the CRC at the moment. |
Summary of the above commits:
To test, I created a new repo using these commands:
.. then tested foo_en.html and foo-colors.html in Chrome. @ariel-phet please assign someone to review, or close if you don't feel that it needs to be reviewed. |
@pixelzoom I think we can go without review here. Thanks for moving this issue forward! |
Reopening. This new policy is not being followed. So we decided to add an item to the master checklist, and to the CRC. I'll handle that. |
Since In the CRC, I added an item to the "Repository Structure" section, the same section that include {{PREFIX}}QueryParameters.js. Closing. |
What about the following cases?
Would we want this to be called out in the checklist for a while, at least until enough developers get in the habit? Or would we just expect developers to check on this during the normal review process anyways? |
In both of those cases, wouldn't the CRC be the spot in which things were checked on? Updating the master checklist in either of those cases wouldn't help because likely either of those would already have a copied snapshot of that checklist in the first issue in that repo. Maybe instead @samreid you are noting that we should eagerly look into places where we should have a colorProfile in sims that currently don't. What about a dev meeting where we all take a few minutes to see if we individually are working on a sim in which this should be added? |
This requirement was discussed thoroughly as dev meetings, and it has since been announced on dev-public a couple of times. Anyone who didn't get the message is not paying attention. Furthermore, a developer who creates a new sim without a ColorProfile is either not running Also note that ColorProfile was requested by designers, see #642 (comment). So if a sim somehow gets all the way to code review without a ColorProfile, then either no one had a reason to use colors.html, or they figured that the sim didn't support it and didn't ask for it. Either way, something is wrong. |
CRC commit phetsims/phet-info@bb048da seems like a good level of detail to me, I don't have any other recommendations for this issue, re-closing. |
While discussing phetsims/fourier-making-waves#5, @kathy-phet asked me to create this issue and label it for discussion at design meeting.
It was proposed that all new sims should use
ColorProfile
, regardless of whether they currently only have 1 profile. This will facilitate future needs for PhET-iO (e.g. mutable color Properties) and a11y (e.g. high-contract profile).If this is adopted, then:
The text was updated successfully, but these errors were encountered: