Page MenuHomePhabricator

Design and use a new Success icon
Closed, ResolvedPublic

Description

Background & Goal

  • Description: the current success icon is not visible enough and is different from the rest of feedback (warning, error and notice) icons since it doesn't have a solid shape.
    Captura de Pantalla 2023-01-09 a las 14.59.54.png (874×1 px, 365 KB)
  • History: describe or link to prior discussions related to this icon
  • Considerations: list any known challenges or blockers, or any other important information
  • Known use case(s):
Captura de Pantalla 2023-01-09 a las 15.00.41.png (226×1 px, 77 KB)
Captura de Pantalla 2023-01-09 a las 15.01.08.png (208×530 px, 46 KB)
Message componentInfo Chip T323524

User stories

  • As a user I need success icon to be visible enough on any background and component.
  • As a user I need warning, error, success and notice icons to be visually similar.

Considerations (Optional)

  • We will create a new IconSuccess and we will keep IconCheck for other use cases.

Open questions (Optional)

Proposal

We will create a new success icon within a circle.

Captura de Pantalla 2023-01-09 a las 15.25.32.png (370×1 px, 159 KB)

Design spec

SVG icon

Acceptance criteria for Done

Design

  • The design of the new icon is ready, and it follows our icon system guidelines
  • The new icon has been reviewed with help from the DST
  • An RTL icon has been created (not needed)
  • The icon is recognizable on low DPI resolutions
  • The icon has been exported as an optimized SVG and added to this task’s description
  • The new icon has been included in our Icon System Figma file, and the library has been published
  • The new icon has been replaced in Message component in the library

Code

  • Add icon in Codex
  • Use new icon in success message, blocked and inline
  • Add icon in OOUI
  • Use new icon in success message, blocked and inline

Documentation


NOTE: the current check icon in the success message will need to be replaced with this new success icon.

Event Timeline

@Volker_E I've designed the new success icon to be aligned with the rest of our feedback icons (warning, error and notice).

Captura de Pantalla 2023-01-11 a las 16.24.10.png (1×1 px, 349 KB)

You can check the Figma spec sheet and the SVG icon.

Change 879180 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] icons: Add 'success'

https://gerrit.wikimedia.org/r/879180

Change 879180 merged by jenkins-bot:

[design/codex@main] icons: Add 'success'

https://gerrit.wikimedia.org/r/879180

Change 879697 had a related patch set uploaded (by VolkerE; author: VolkerE):

[oojs/ui@master] icons: Add 'success'

https://gerrit.wikimedia.org/r/879697

Change 879697 merged by jenkins-bot:

[oojs/ui@master] icons: Add 'success' to the alerts icon pack

https://gerrit.wikimedia.org/r/879697

Volker_E renamed this task from Design a new Success icon to Design and use a new Success icon.Jan 13 2023, 10:40 PM
Volker_E changed the task status from Open to In Progress.

Change 879913 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] Message: Replace 'check' with 'success' icon on success type messages

https://gerrit.wikimedia.org/r/879913

Change 879936 had a related patch set uploaded (by VolkerE; author: VolkerE):

[oojs/ui@master] MessageWidget: Replace 'check' with 'success' icon

https://gerrit.wikimedia.org/r/879936

Change 879936 merged by jenkins-bot:

[oojs/ui@master] MessageWidget: Replace 'check' with 'success' icon

https://gerrit.wikimedia.org/r/879936

Change 879913 merged by jenkins-bot:

[design/codex@main] Message: Replace 'check' with 'success' icon on success type messages

https://gerrit.wikimedia.org/r/879913

Change 880992 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] Update OOUI to v0.46.2

https://gerrit.wikimedia.org/r/880992

Change 880992 merged by jenkins-bot:

[mediawiki/core@master] Update OOUI to v0.46.2

https://gerrit.wikimedia.org/r/880992

Hi @Jrbranaa

This implementation looks good in the following browsers on the Docs site: Chrome v109, Safari v16.2, Firefox v108.

image.png (490×1 px, 63 KB)
image.png (662×1 px, 173 KB)
image.png (458×1 px, 73 KB)
image.png (454×1 px, 73 KB)

I believe this can be signed off.

Change 869852 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v0.4.3 to v0.5.0

https://gerrit.wikimedia.org/r/869852

Change 885450 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v0.4.3 to v0.5.0

https://gerrit.wikimedia.org/r/885450

Change 885450 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.4.3 to v0.5.0

https://gerrit.wikimedia.org/r/885450

Volker_E claimed this task.
Volker_E removed a project: Patch-For-Review.
Volker_E updated the task description. (Show Details)
Volker_E added a subscriber: DAbad.

Last bit done.

Change 931616 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[oojs/ui@master] MessageWidget.php: Replace 'check' with 'success' icon

https://gerrit.wikimedia.org/r/931616

Change 931616 merged by jenkins-bot:

[oojs/ui@master] MessageWidget.php: Replace 'check' with 'success' icon

https://gerrit.wikimedia.org/r/931616

Change 935793 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update OOUI to v0.47.2

https://gerrit.wikimedia.org/r/935793

Change 935793 merged by jenkins-bot:

[mediawiki/core@master] Update OOUI to v0.47.3

https://gerrit.wikimedia.org/r/935793