Page MenuHomePhabricator

Add destructive variant of "clear" icon
Closed, InvalidPublic

Description

Red (destructive) "clear" icon is needed for ContentTranslation issue system. It also needs yellow (warning) alert icon, but that is already available.

The specific task to use colors for the icons - T200773.
General task about issue card system inside Content Translation - T189488.

Examples of warning and errors:

Error (destructive "clear" icon)Warning ("alert" icon)
CX-error-publih-expanded.png (720×1 px, 252 KB)
CX-error-initial.png (720×1 px, 249 KB)

Event Timeline

Please have a look at error messages in OOUI. The error icon is 'error', not 'clear'. 'clear' should be used only to clear input data.
cc: @Pginer-WMF

Please have a look at error messages in OOUI. The error icon is 'error', not 'clear'. 'clear' should be used only to clear input data.
cc: @Pginer-WMF

'error' is also not available in 'destructive' variant. Do you propose to repurpose this task so that 'destructive' variant is added for 'error' icon?

@Petar.petkovic I've linked, out of habit, the old page. We've put layouts into its own page in OOUI demos in T178950. Please see https://doc.wikimedia.org/oojs-ui/master/demos/?page=layouts&theme=wikimediaui&direction=ltr&platform=desktop#widgets-mediawiki-vector-ltr There's a specific 'error' flag for this icon.

Please have a look at error messages in OOUI. The error icon is 'error', not 'clear'. 'clear' should be used only to clear input data.
cc: @Pginer-WMF

Ok. Let's use the proper error icon then.