joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[4.2] Override Check quick Icon

Open brianteeman opened this issue 3 years ago • 2 comments

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

brianteeman avatar Sep 22 '22 11:09 brianteeman

how can we trigger the update warning during testing?

N6REJ avatar Sep 22 '22 17:09 N6REJ

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.

Screenshot_1

Kostelano avatar Sep 22 '22 17:09 Kostelano

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.

RickR2H avatar Sep 23 '22 12:09 RickR2H

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.

viocassel avatar Sep 23 '22 12:09 viocassel

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

RickR2H avatar Sep 23 '22 14:09 RickR2H

this can not possibly be rtc

brianteeman avatar Sep 23 '22 14:09 brianteeman

@brianteeman what's wrong with the PR?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

RickR2H avatar Sep 23 '22 14:09 RickR2H

https://github.com/joomla/joomla-cms/pull/38813#issuecomment-1255326686

brianteeman avatar Sep 23 '22 14:09 brianteeman

Back to pending


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

RickR2H avatar Sep 23 '22 14:09 RickR2H

Please retest

image

image

brianteeman avatar Sep 23 '22 14:09 brianteeman

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.

RickR2H avatar Sep 23 '22 14:09 RickR2H

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.

Kostelano avatar Sep 23 '22 15:09 Kostelano

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

alikon avatar Sep 23 '22 16:09 alikon

I think that the colors used have not enough contrast: grafik grafik (I took them from the screens posted here)

coolcat-creations avatar Sep 30 '22 08:09 coolcat-creations

Suggested colours welcome

brianteeman avatar Sep 30 '22 08:09 brianteeman

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

coolcat-creations avatar Sep 30 '22 08:09 coolcat-creations

The background colour is NOT being defined in this PR. It is using the one defined globally in the atum template variables

brianteeman avatar Sep 30 '22 09:09 brianteeman

I remember I researched accessible colors and set them up but it was reverted by someone else :-(

coolcat-creations avatar Sep 30 '22 09:09 coolcat-creations

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

brianteeman avatar Sep 30 '22 09:09 brianteeman

I would suggest to merge the colors first so that your PR does not bring any accessibility issues on the front dashboard.

coolcat-creations avatar Sep 30 '22 09:09 coolcat-creations

@coolcat-creations could you make a PR? Happy to test as I agree with this PR...

RickR2H avatar Sep 30 '22 09:09 RickR2H

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.

coolcat-creations avatar Sep 30 '22 09:09 coolcat-creations

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.

coolcat-creations avatar Sep 30 '22 09:09 coolcat-creations

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"

N6REJ avatar Sep 30 '22 19:09 N6REJ

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.

coolcat-creations avatar Sep 30 '22 19:09 coolcat-creations

Thank you but I am on a Mac :) When I try to install Composer it's always complaining about missing libraries.

well darn.

N6REJ avatar Sep 30 '22 19:09 N6REJ

Appreciate help and feedback on https://github.com/joomla/joomla-cms/pull/38885

coolcat-creations avatar Oct 01 '22 11:10 coolcat-creations

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)

Screen Shot 2022-10-04 at 11 29 58

And for the default state: (contrast insufficient)

Screen Shot 2022-10-04 at 11 31 34

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.

crystalenka avatar Oct 04 '22 08:10 crystalenka

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

brianteeman avatar Oct 04 '22 09:10 brianteeman

if I understood this correctly this pr is not RTC right or is it better then nothing?

HLeithner avatar Oct 15 '22 08:10 HLeithner