Nothing Special   »   [go: up one dir, main page]

Page MenuHomePhabricator

OOUI dark mode bug fixes post-0.50.0 release
Closed, ResolvedPublic5 Estimated Story Points

Description

Background

We've limited impactful changes in OOUI v0.50.0 solely to enabling dark mode. Nonetheless we're assuming to catch a number of dark mode related issues in OOUI interfaces.
This task is a catch-all for issues and fixes for them.

Goal

Ensure that OOUI interfaces are navigable and readable in dark mode

Issues

  1. Special:Preferences OOUI stylesheet uses hard-coded values resulting for example in

image.png (312×2 px, 49 KB)

  1. Special:ApiSandbox

image.png (572×1 px, 153 KB)

  1. Primary destructive buttons use dark color instead of white

image.png (100×238 px, 5 KB)

  1. Radio buttons active state disc is dark instead of white
  2. Focus ring on Radios and focus outline on Checkboxes is dark instead of white Comparison with Codex and more thought have resulted in the focus outline to behave like light mode. The black inner is representing the page background color and is therefore correct.

Acceptance criteria

Event Timeline

AnneT triaged this task as High priority.Jun 10 2024, 5:21 PM
AnneT set the point value for this task to 5.
AnneT added a project: Design-System-Team.
Volker_E renamed this task from [PLACEHOLDER] OOUI bug fixes post-0.50.0 release to OOUI dark mode bug fixes post-0.50.0 release.Jun 12 2024, 11:45 AM
Volker_E updated the task description. (Show Details)

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

[mediawiki/core@master] styles: Replace static color values with Codex tokens enabling dark mode

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

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

[mediawiki/extensions/AdvancedSearch@master] styles: Enable dark mode

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

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

[mediawiki/core@master] apisandbox, styles: Apply dark mode enabled color tokens

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

Hey all, just a note that all these pages are disabled from night mode in production (see https://github.com/wikimedia/operations-mediawiki-config/blob/fb0b98da90919efe92e9026e2b8278cd27f65b19/wmf-config/skin-Minerva.php#L119). For example Preferences and ApiSandbox are not enabled in production yet. This is intentional so we are not overwhelmed chasing bug fixes. Don't feel all these fixes need to go in by Monday, in case that is a worry of yours, but thanks for working on these! If you could also tag the fix with the Phabricator ticket mentioned in wmgMinervaNightModeExcludeTitles that will also make sure we track them correctly.

Change #1042214 merged by jenkins-bot:

[mediawiki/core@master] Preferences: Replace static color values with Codex tokens enabling dark mode

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

Volker_E updated the task description. (Show Details)

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

[oojs/ui@master] WikimediaUI theme: Fix primary button color in dark mode

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

Change #1043136 merged by jenkins-bot:

[oojs/ui@master] WikimediaUI theme: Fix primary button color in dark mode

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

Change #1042262 merged by jenkins-bot:

[mediawiki/core@master] apisandbox, styles: Apply dark mode enabled color tokens

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

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

[oojs/ui@master] WikimediaUI theme: Fix radio disc color in dark mode

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

Change #1048081 merged by jenkins-bot:

[oojs/ui@master] WikimediaUI theme: Fix radio disc color in dark mode

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

Change #1049622 had a related patch set uploaded (by VolkerE; author: Bernard Wang):

[oojs/ui@master] WikimediaUI theme: Fix color contrast issues in dark mode for framed active button element

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

Change #1049622 merged by jenkins-bot:

[oojs/ui@master] WikimediaUI theme: Fix dark mode contrast for framed active button element

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

Volker_E updated the task description. (Show Details)
Volker_E updated the task description. (Show Details)