Page MenuHomePhabricator

[Follow up][regression] Edit icons not rendering correctly in Minerva and mediawiki.ui.icon is still loaded
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

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

What happens?:

  • Reference edit icon is smaller than notes.

Screenshot 2023-09-09 at 11.05.16 PM.png (268×1 px, 42 KB)

The edit icon at the top of the page also appears unstyled

Screenshot 2023-09-08 at 4.52.25 PM.png (316×2 px, 55 KB)

What should have happened instead?:

  • A span tag should be used for the icon
  • The icons should appear.
  • The labels should disappear when the screen is resized.
  • The font size should be the same for all icons

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

QA steps

QA Results - Beta

Event Timeline

Jdlrobson renamed this task from Edit icons do not show in desktop Minerva and mediawiki.ui.icon is still loaded to [Follow up][regression] Edit icons do not show in desktop Minerva and mediawiki.ui.icon is still loaded.Sep 8 2023, 11:56 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Regression.
Jdlrobson renamed this task from [Follow up][regression] Edit icons do not show in desktop Minerva and mediawiki.ui.icon is still loaded to [Follow up][regression] Edit icons not rendering correctly in Minerva and mediawiki.ui.icon is still loaded.Sep 10 2023, 6:05 AM
Jdlrobson updated the task description. (Show Details)
ovasileva set the point value for this task to 2.Sep 11 2023, 5:10 PM

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

[mediawiki/skins/MinervaNeue@master] Ensure header edit icons are the same size

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

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

[mediawiki/extensions/VisualEditor@master] Update handling of minerva icons

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

bwang removed bwang as the assignee of this task.Sep 11 2023, 11:36 PM
bwang subscribed.

Change 956490 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Ensure header edit icons are the same size

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

We raised a question on Slack about how important Minerva desktop is to fix.

Jdlrobson updated the task description. (Show Details)
Jdlrobson added a subscriber: ppelberg.

I've split out a new ticket for the Minerva desktop issue: T346944.

Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

Go to https://en.m.wikipedia.org/wiki/History_of_China
Scroll to references section
✅ AC1: A span tag should be used for the icon

screenshot 70.png (1×1 px, 386 KB)
screenshot 71.png (1×1 px, 471 KB)

✅ AC2: The icons should appear.
See AC1

✅ AC3: The labels should disappear when the screen is resized.

screenshot 72.png (1×931 px, 421 KB)

✅ AC4: The font size should be the same for all icons

✅ AC5: Inspect section edit button markup, make sure they are using .cdx-button and .minerva-icon classes
See AC1
✅ AC6: Ensure same design as before, button states work normally

Looks good, resolving!