Page MenuHomePhabricator

Contribution icons provided by Special:ContentTranslation are not reverted in the dark mode
Closed, ResolvedPublic0 Estimated Story Points

Description

grafik.png (204×339 px, 14 KB)

"my translations" and "my file uploads" icons are still black in the dark mode.

Derived Requirement

Ensure that contribution icons provided by Special
are correctly inverted in dark mode.

BDD

Feature: Icon Visibility in Dark Mode

Scenario: Ensure contribution icons are visible in dark mode

Given a user is using Special:ContentTranslation in dark mode
When the user views the contribution icons
Then the icons should be correctly inverted and visible
Test Steps

Test Case 1: Ensure Contribution Icons are Visible in Dark Mode

  1. Open beta- https://en.wikipedia.beta.wmflabs.org/wiki/Lightsaber, PROD- https://en.wikipedia.org/wiki/Lightsaber
  2. Switch to dark mode in Appearances.
  3. Observe the contribution icons (e.g., "my translations", "my file uploads").
  4. AC1: Confirm that the icons are correctly inverted and visible in dark mode.

QA Results - Beta

ACStatusDetails
1T365580#9887044

QA Results - Prod

ACStatusDetails
1T365580#10020115

Event Timeline

Jdlrobson renamed this task from Some icons in personal toolbar are not reverted in the dark mode to Contribution icons provided by Special:ContentTranslation are not reverted in the dark mode.May 23 2024, 12:55 AM
Jdlrobson updated the task description. (Show Details)

This should be addressed by T363920. We are playing whack-a-mole until then.

Change #1038910 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] Use mask-image for all Vector icons

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

Change #1041787 had a related patch set uploaded (by Stoyofuku-wmf; author: Stoyofuku-wmf):

[mediawiki/skins/Vector@master] Remove not selector and target OOUI icons for inversion only

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

Change #1041787 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Remove not selector and target OOUI icons for inversion only

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

GMikesell-WMF subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: Beta
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Contribution Icons are Visible in Dark Mode

  1. Open beta- https://en.wikipedia.beta.wmflabs.org/wiki/Lightsaber, PROD- https://en.wikipedia.org/wiki/Lightsaber
  2. Switch to dark mode in Appearances.
  3. Observe the contribution icons (e.g., "my translations", "my file uploads").
  4. AC1: Confirm that the icons are correctly inverted and visible in dark mode.

2024-06-12_16-30-21.png (2,349×372 px, 159 KB)

GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF added a subscriber: Edtadros.

Icons look good. Resolving!

Change #1038910 abandoned by Jdlrobson:

[mediawiki/skins/Vector@master] POC: Use mask-image for all Vector icons

Reason:

To be discussed with DST on Tuesday June 18th

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

Change #1038910 restored by Jdlrobson:

[mediawiki/skins/Vector@master] POC: Use mask-image for all Vector icons

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

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Contribution Icons are Visible in Dark Mode

  1. Open beta- https://en.wikipedia.beta.wmflabs.org/wiki/Lightsaber, PROD- https://en.wikipedia.org/wiki/Lightsaber
  2. Switch to dark mode in Appearances.
  3. Observe the contribution icons (e.g., "my translations", "my file uploads").
  4. AC1: Confirm that the icons are correctly inverted and visible in dark mode.

screenshot 7.png (1,175×677 px, 229 KB)