-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Use upper/lowercase colors in Inline Color Editor #8558
Comments
Comment by Mark-Simulacrum The "U" toggle button doesn't seem appropriate for a button of it's type. Perhaps it should be separated from the RGBa, Hex, and HSLa button-container. At the very least, I would perhaps make the button have more text than "U" as that seems rather odd. Another improvement would be having the button change state depending on the current state (U/L, for example (Uppercase/Lowercase)). Again, |
Comment by Mark-Simulacrum I also found what seems like a bug. Whenever I:
Any change to the color (opacity, color wheel, actual color) also seems to reset the uppercase to lowercase. |
Comment by larz0 This should be a property in brackets.json so that the future inline gradient editor can stick to the preferred case preference; brackets.json will have a UI eventually. |
Comment by le717
|
Comment by Mark-Simulacrum
|
Comment by le717
|
Comment by busykai
|
Comment by MarcelGerber I guess I wonder if we should restrict uppercase language names to Hex colors only, as all the others look quite odd (haven't looked at the code though, so maybe this is already the case). |
Comment by le717
Yea, that would be a nice switch, but sounds like another preference-debate akin to
I've gone back and forth on that. The feature request asked for making only Hex values upper/lowercase, but somewhere there are probably devs who write the other colors in uppercase too, so why should we restrict them from using their preferred case? Right now, the case preference applies universally. |
Comment by le717
|
Comment by redmunds Done with initial review. |
Comment by le717
|
Comment by redmunds
|
Comment by le717
|
Comment by MarcelGerber The FileFilters test suite uses some preferences. |
Comment by redmunds
|
Comment by le717 Neither of those are working. :\ Is there a dependency or state that needs to be loaded/enabled first? |
Comment by le717
|
Comment by le717
If everything looks good, I'll flatten this. |
Comment by redmunds
|
Comment by le717
|
Comment by redmunds Done with review. This looks good. Just one last question about unit tests. |
Comment by le717 Questions answered, switched unit tests to use |
Comment by redmunds Looks good. Merging.
|
Comment by le717
|
Comment by MarcelGerber I just searched through all the extensions on the registry and luckily, there's not a single one using tinycolor. So we're pretty much good to go. |
Issue by le717
Sunday Oct 19, 2014 at 00:34 GMT
Originally opened as adobe/brackets#9596
For #9519.
Features
This code is rather confusing (as already documented), so it was a bit of a challenge to get this written up. I once spent 30 digging around in various places for a one-line fix.
Now for the issues present here:
le717 included the following code: https://github.com/adobe/brackets/pull/9596/commits
The text was updated successfully, but these errors were encountered: