Page MenuHomePhabricator

Popups should use Codex markup instead of mw-ui-icon markup
Closed, ResolvedPublic2 Estimated Story Points

Assigned To
Authored By
Jdlrobson
Jul 14 2023, 6:13 PM
Referenced Files
F37670724: screenshot 8.png
Sep 8 2023, 12:24 AM
F37670722: screenshot 11.png
Sep 8 2023, 12:24 AM
F37670723: screenshot 6.png
Sep 8 2023, 12:24 AM
F37670725: screenshot 5.png
Sep 8 2023, 12:24 AM
F37670721: screenshot 9.png
Sep 8 2023, 12:24 AM
F37670719: screenshot 7.png
Sep 8 2023, 12:24 AM
F37670720: screenshot 10.png
Sep 8 2023, 12:24 AM
F37639621: Screenshot 2023-08-28 at 6.49.55 PM.png
Aug 29 2023, 2:02 AM

Description

Popups still uses the mw-ui-icon class. Instead it should be modified to use the Codex markup.

TODO

QA

  • No large visual changes in popups, especially looking at all button and icons
  • Make sure to check disambiguation, reference and error popups

Sign off

  • T345653 will remove the icon selectors

Event Timeline

bwang set the point value for this task to 2.Jul 20 2023, 5:59 PM
Jdlrobson raised the priority of this task from Medium to High.Aug 7 2023, 5:38 PM

High as this is the last remaining consumer of this code in desktop.

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

[mediawiki/extensions/Popups@master] Replace mediawiki.ui.icon with Codex, update preview markup and styles to be more consistent

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

bwang removed bwang as the assignee of this task.Aug 15 2023, 7:38 PM
bwang subscribed.

Change 949095 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] Replace mediawiki.ui.icon with Codex, update preview markup and styles to be more consistent

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

bwang added a subscriber: Jdrewniak.
Edtadros subscribed.

Hey @bwang can you add some test steps. I'm not sure how to validate this properly.

Test Result - Beta

Status:❓Need More Info
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: No large visual changes in popups, especially looking at all button and icons
No large visual changes.

❓ AC2: Make sure to check disambiguation, reference and error popups
I wasn't sure what to check beyond visually. I assumed that there should be no instances of mw-icon-... Please see the circled sections and confirm if this is a pass. Additionally, I'm not sure where to find an error popup.

Screenshot 2023-08-28 at 6.41.56 PM.png (1×1 px, 691 KB)

Screenshot 2023-08-28 at 6.46.47 PM.png (1×1 px, 559 KB)

Screenshot 2023-08-28 at 6.49.55 PM.png (1×1 px, 564 KB)

Yes those look like passes to me!

Test Result - Prod

Status: ❓Need More Info
Environment: enwiki
OS: macOS Ventura
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

❓ AC1: No large visual changes in popups, especially looking at all button and icons
@Jdlrobson , a few popups have cutoff images. I'm not sure if this is an issue.

screenshot 10.png (1×2 px, 916 KB)

screenshot 7.png (1×2 px, 743 KB)

screenshot 9.png (1×2 px, 964 KB)

screenshot 5.png (1×2 px, 2 MB)

screenshot 6.png (1×2 px, 1 MB)

✅ AC2: Make sure to check disambiguation, reference and error popups

screenshot 11.png (1×2 px, 1 MB)

screenshot 8.png (1×2 px, 1 MB)

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

LGTM. Confirming as pass.