joomla-cms
joomla-cms copied to clipboard
[4.2] Override Check quick Icon
Several users have expressed the view that the red error styling on th quickicon when there are overrides to check is too "scary".
This pr introduces a separate warning class for "warning" and updates the js to use this warning instead of the error
To test either run npm ci or use a prebuilt build
how can we trigger the update warning during testing?
When hovering the cursor, the color of the icon merges with the background, which was not (as far as I remember) in the danger type.

I have tested this item :white_check_mark: successfully on 8d5e28eaa1d99372587fa6904fb36c5db47132c8
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
I have tested this item :white_check_mark: successfully on 8d5e28eaa1d99372587fa6904fb36c5db47132c8
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
RTC
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
this can not possibly be rtc
@brianteeman what's wrong with the PR?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
https://github.com/joomla/joomla-cms/pull/38813#issuecomment-1255326686
Back to pending
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
Please retest


I have tested this item :white_check_mark: successfully on 333b2f6c8328478d7d0b97b93b33fa48120bcecb
Hover icon now working. Thanks Brian!
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
I have tested this item :white_check_mark: successfully on 333b2f6c8328478d7d0b97b93b33fa48120bcecb
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
RTC
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.
I think that the colors used have not enough contrast:
(I took them from the screens posted here)
Suggested colours welcome
What about this combinations? https://medium.com/handsome-perspectives/a-guide-to-color-accessibility-in-product-design-aa3e8919be0 The second row AAA looks good to me
The background colour is NOT being defined in this PR. It is using the one defined globally in the atum template variables
I remember I researched accessible colors and set them up but it was reverted by someone else :-(
As this PR is about using the warning instead of the error I would really like to see this merged as it is and then the JAT can make sure that the core template colours are all accessible. Or the JAT can actually submit a PR
I would suggest to merge the colors first so that your PR does not bring any accessibility issues on the front dashboard.
@coolcat-creations could you make a PR? Happy to test as I agree with this PR...
I try, I don't have a dev environment because composer and npm does not work on my computer but I try to create the PR "blind" - maybe I can see then in the prebuild packages if I changed it in the correct file.
I just had a look in the github files and it's slightly more then just changing the warning color because the featured state is using warning as well, which is strange. I need a buddy to get composer running on my computer then I can do this with pleasure and fix some of the colors.
I try, I don't have a dev environment because composer and npm does not work on my computer but I try to create the PR "blind" - maybe I can see then in the prebuild packages if I changed it in the correct file.
Run my program and your worries will go away :D https://bearsampp.com/get-started Takes about 5 minutes to setup and zero "install"
I try, I don't have a dev environment because composer and npm does not work on my computer but I try to create the PR "blind" - maybe I can see then in the prebuild packages if I changed it in the correct file.
Run my program and your worries will go away :D https://bearsampp.com/get-started Takes about 5 minutes to setup and zero "install"
Thank you but I am on a Mac :) When I try to install Composer it's always complaining about missing libraries.
Thank you but I am on a Mac :) When I try to install Composer it's always complaining about missing libraries.
well darn.
Appreciate help and feedback on https://github.com/joomla/joomla-cms/pull/38885
The WCAG 2.0 contrast checker is famously inaccurate for white-on-orange text; it's calculating pure contrast instead of perceived contrast.
While not technically WCAG 2.0, it is more accurate to test the colors in the upcoming WCAG 3.0 checker for these particular combos. (More here)[https://www.myndex.com/APCA/]
Here are the APCA results for the hover state: (contrast okay for spot and non-text elements only)
And for the default state: (contrast insufficient)
So the contrast definitely needs to be improved. However, I don't think that we don't have to change the colors as drastically as in https://github.com/joomla/joomla-cms/pull/38885 in order to get it there :)
I'll comment over there also with some ideas.
So the contrast definitely needs to be improved. However, I don't think that we don't have to change the colors as drastically as in https://github.com/joomla/joomla-cms/pull/38885 in order to get it there :)
Thanks and agreed.
I'll comment over there also with some ideas.
And/or submit a pr to this branch
if I understood this correctly this pr is not RTC right or is it better then nothing?