Page MenuHomePhabricator

Codex icons in Vector and Minerva are displaying incorrectly
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Visit a page on beta
  • Observe icons being incorrectly rendered (notification icons need to be interacted-with first, but others are broken on pageload like the watch star and TOC carets)

What happens?:

image.png (568×1 px, 45 KB)

What should have happened instead?:

image.png (342×770 px, 27 KB)

Investigation revealed that this was introduced in the update to Codex 1.3.3 yesterday.

QA

Vector

  • Check watchstar

After the Codex update from 1.3.2 to 1.3.3, watchstar icon in Vector is broken.

Screenshot 2024-02-21 at 1.12.12 PM.png (56×131 px, 2 KB)

  • Check MobileFrontend editor (loading spinner to left of back/close icon)
  • Check page previews setting cog
    1. Minerva
  • Load notification overlay. Check the loading spinner is not clipped.
  • Focus the search and check search icon in input
  • Open the language overlay and focus the search and check search icon in input
  • Open the editor overlay. Note the ajax loading spinner in the top left.
  • Popups setting cog

QA Results - Beta

QA Results - Prod

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 1005631 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/skins/Vector@master] icons: restore "background-" CSS rules

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

Jdlrobson subscribed.

I have marked this as a train blocker for next week.

Change 1005631 merged by jenkins-bot:

[mediawiki/skins/Vector@master] icons: restore "background-" CSS rules

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

ovasileva set the point value for this task to 2.
Jdlrobson renamed this task from Codex icons in Vector are displaying incorrectly to Codex icons in Vector and Minerva are displaying incorrectly.Feb 23 2024, 6:45 PM

Change 1006061 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/skins/MinervaNeue@master] Add icon background styles to codex CSS icons

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

Change 1006064 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/extensions/MobileFrontend@master] Add icon background styles to codex CSS icons

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

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

[mediawiki/extensions/MobileFrontend@master] Fixes alignment of search icon in language searcher

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

Change 1006064 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Add icon background styles to codex CSS icons

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

Change 1006071 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Fixes alignment of search icon in language searcher

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

Change 1006061 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Add icon background styles to codex CSS icons

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

Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS / ❓Need More Info
Environment: beta
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps
NOTE: I'm passing this even though I have a question on AC3.

Vector 2022
✅ AC1: Check watchstar

screenshot 568.png (403×1 px, 86 KB)
screenshot 569.png (403×1 px, 86 KB)
screenshot 570.png (403×1 px, 96 KB)

✅ AC2: Check page previews setting cog

screenshot 571.png (451×364 px, 203 KB)

Minerva

NOTE: I had to complete these in night mode because my settings are stuck in that mode

❓ AC3: Check MobileFrontend editor (loading spinner to left of back/close icon)
spinner is to the right, which seems correct.

screenshot 296.mov.gif (844×390 px, 262 KB)

✅ AC4: Load notification overlay. Check the loading spinner is not clipped.

screenshot 297.mov.gif (844×390 px, 632 KB)
screenshot 573.png (831×386 px, 21 KB)

✅ AC5: Focus the search and check search icon in input

screenshot 298.mov.gif (844×390 px, 395 KB)

✅ AC6: Open the language overlay and focus the search and check search icon in input

screenshot 299.mov.gif (844×390 px, 248 KB)

✅ AC7: Open the editor overlay. Note the ajax loading spinner in the top left.
screenshot 301.mov.gif (844×390 px, 881 KB)

✅ AC8: Popups setting cog

ovasileva claimed this task.

All looks good! Resolving

Test Result - Prod

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

Test Artifact(s):

QA Steps
Vector 2022

✅ AC1: Check watchstar

screenshot 305.mov.gif (478×1 px, 711 KB)
screenshot 306.mov.gif (478×1 px, 802 KB)
screenshot 304.mov.gif (478×1 px, 943 KB)

✅ AC2: Check page previews setting cog

screenshot 599.png (449×384 px, 205 KB)

Minerva

✅ AC3: Check MobileFrontend editor (loading spinner to right of back/close icon)

screenshot 307.mov.gif (846×388 px, 466 KB)

✅ AC4: Load notification overlay. Check the loading spinner is not clipped.

screenshot 600.png (885×460 px, 21 KB)
screenshot 308.mov.gif (846×388 px, 677 KB)

✅ AC5: Focus the search and check search icon in input

screenshot 601.png (846×389 px, 13 KB)

✅ AC6: Open the language overlay and focus the search and check search icon in input

screenshot 602.png (846×389 px, 29 KB)

✅ AC7: Open the editor overlay. Note the ajax loading spinner in the top left.

screenshot 309.mov.gif (846×388 px, 456 KB)
screenshot 310.mov.gif (846×388 px, 282 KB)
screenshot 603.png (800×369 px, 126 KB)

✅ AC8: Popups setting cog

screenshot 604.png (819×669 px, 170 KB)

I see the same issue with

image.png (160×415 px, 10 KB)

(The popup says ‘The preview encountered a problem.’) Granted, I have a slightly bigger font set for myself, so that might be what is causing this, but I really don’t get why it’s not just background-sized correctly.

I see the same issue with

image.png (160×415 px, 10 KB)

(The popup says ‘The preview encountered a problem.’) Granted, I have a slightly bigger font set for myself, so that might be what is causing this, but I really don’t get why it’s not just background-sized correctly.

Hi @stjn thanks for flagging. I can't reproduce on Chrome on https://en.wikipedia.org/w/index.php?title=Alien_(computing)&redirect=no with zooming/or changing default font. Could you open a new bug report with some steps on how to reproduce this?