Page MenuHomePhabricator

MinervaNeue night-mode should not have white drop-shadows
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to reproduce

With dark-mode enabled:

Expected results

  • Drop shadows should remain dark

Actual results

  • Drop-shadows are white
Screenshot 2024-05-07 at 3.07.23 PM.png (1×1 px, 227 KB)
Screenshot 2024-05-07 at 3.07.35 PM.png (536×1 px, 155 KB)
Screenshot 2024-05-07 at 3.07.48 PM.png (1×1 px, 356 KB)
Screenshot 2024-05-07 at 3.09.29 PM.png (1×1 px, 134 KB)
main menucitationsnotification menumore menu

Check any additional observations

QA Results - PROD

Event Timeline

Change #1034926 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/MinervaNeue@master] feature(minerva): Remove white drop-shadows in night mode

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

Change #1034935 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/core@master] feature(codex): Update application.json box-shadow colour tokens

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

Change #1034936 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/MinervaNeue@master] fix(minerva): Fix notification & menu shadows in night mode

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

Change #1034936 abandoned by Mabualruz:

[mediawiki/skins/MinervaNeue@master] fix(minerva): Fix notification & menu shadows in night mode

Reason:

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

Jdlrobson added subscribers: JScherer-WMF, Mabualruz.

@JScherer-WMF we need some input on this one. THe box shadow looks incorrect on day mode as well, do you know what design token we should be using for the main menu box shadow?
https://en.m.wikipedia.beta.wmflabs.org/wiki/Polar_bear?minervanightmode=0

Screenshot 2024-05-23 at 9.38.47 AM.png (473×860 px, 91 KB)

@JScherer-WMF we need some input on this one. THe box shadow looks incorrect on day mode as well, do you know what design token we should be using for the main menu box shadow?
https://en.m.wikipedia.beta.wmflabs.org/wiki/Polar_bear?minervanightmode=0

Screenshot 2024-05-23 at 9.38.47 AM.png (473×860 px, 91 KB)

I requested that DST put a token in Codex that remains dark in both modes. Depending on how long that takes, we might need to hardcode a value and refactor after they create the token.

@JScherer-WMF we need some input on this one. THe box shadow looks incorrect on day mode as well, do you know what design token we should be using for the main menu box shadow?
https://en.m.wikipedia.beta.wmflabs.org/wiki/Polar_bear?minervanightmode=0

Screenshot 2024-05-23 at 9.38.47 AM.png (473×860 px, 91 KB)

box-shadow-drop-medium as spec'd in codex.

Change #1034935 abandoned by Jdlrobson:

[mediawiki/core@master] feature(codex): Update application.json box-shadow colour tokens

Reason:

Doesn't seem like we need this given Justin's latest comment.

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

Test wiki created on Patch demo by Jdlrobson using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/eba38a9584/w

^ Okay @JScherer-WMF I merged the patch as spec'ed (we were still doing code review so I moved back from sign off).
Could you take a look at the end result and move this to the QA column (or sign off if you don't think it will benefit from additional QA) if it looks good to you?

^ Okay @JScherer-WMF I merged the patch as spec'ed (we were still doing code review so I moved back from sign off).
Could you take a look at the end result and move this to the QA column (or sign off if you don't think it will benefit from additional QA) if it looks good to you?

Inspected the box shadow on the main menu and it matches the codex spec, so I don't think there's any need for more QA. Moving to sign off.

Change #1034926 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] fix(minerva): Fix notification & menu shadows in night mode

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

Jdlrobson claimed this task.

Change #1041775 had a related patch set uploaded (by Jdrewniak; author: Jdrewniak):

[mediawiki/skins/MinervaNeue@master] Improve Minerva drop-shadows in dark-mode

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

Change #1041775 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Improve Minerva drop-shadows in dark-mode

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

@Jdlrobson @Edtadros AC2 failed in PROD for citations since the drop shadows are white.

Test Result - PROD

Status: ❌ AC2
Environment: PROD
OS: macOS Sonoma 14.5
Browser: Chrome 125
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Redirect Arrow is Visible in Dark Mode

  1. Go to https://en.m.wikipedia.org/wiki/Polar_bear?minervanightmode=1 in Darkmode.
  2. Verify that Main Menu does not have Drop-shadows that are white
  3. AC1: Main Menu

2024-06-11_15-06-40.png (768×2 px, 344 KB)

  1. Go to https://en.m.wikipedia.org/wiki/Polar_bear?minervanightmode=1 in Darkmode.
  2. Verify that Citations does not have Drop-shadows that are white
  3. AC2: Citations

2024-06-11_15-06-52.png (1×2 px, 578 KB)

  1. Go to https://en.m.wikipedia.beta.wmflabs.org/wiki/Polar_bear in Darkmode.
  2. Verify that Notifications Menu does not have Drop-shadows that are white
  3. AC3: Notifications Menu

2024-06-11_15-07-16.png (803×1 px, 111 KB)

  1. Go to https://en.m.wikipedia.beta.wmflabs.org/wiki/Polar_bear in Darkmode.
  2. Verify that More Menu does not have Drop-shadows that are white
  3. AC4: More Menu

2024-06-11_15-07-26.png (689×2 px, 249 KB)

❌AC2: Citations

Thanks! This was just fixed as part of a patch merged today (T364425#9885774) so we should repeat QA on this when verifying 1.43.0-wmf.10