Closed pixelzoom closed 6 months ago
Thanks for the review @pixelzoom. This has been updated in the commit. A lint rule would not be a bad thing to have here. @pixelzoom can you provide feedback on the way we're using the mysteryLauncherFillColorProperties array, and whether this can be closed?
@pixelzoom can you provide feedback on the way we're using the mysteryLauncherFillColorProperties array, and whether this can be closed?
@matthew-blackman and I worked on this in https://github.com/phetsims/projectile-data-lab/commit/ecf5b6bec262b7ee64e073ae26cbcbfcf17e0e78. Closing.
For code review #32 ...
For color profiles, there is a naming convention that is not being followed. If
blahProperty
is the field name, then the argument tocolorName
argument to ProfileColorProperty should be'blah'
.In PDLColors.ts there are many names that do not follow this convention. For example:
There is no correspondence between
panelColorProperty
and 'panelFill'. So the names should be eitherpanelFillProperty
andpanelFill
, orpanelColorProperty
andpanelColor
.Creating a new lint rule for this might be good.