Page MenuHomePhabricator

Popups: Use Codex markup for buttons instead of mediawiki.ui markup
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

After switching to Codex for our buttons, Popups is now loading redundant CSS for buttons and icons on page load. We should update the markup in Popups ASAP to use the Codex CSS button component.

See example for ULS @ https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UniversalLanguageSelector/+/932470

QA

  • Go in an incognito window
  • Display a page preview
  • A settings cog should appear in the bottom right and look like other icons in the page
  • Clicking the settings cog should open a dialog with a close icon and button. Both should look normal

QA Results - Beta

ACStatusDetails
1T340256#9007508
2T340256#9007508

QA Results - Prod

ACStatusDetails
1T340256#9020539
2T340256#9020539

Event Timeline

LGoto set the point value for this task to 2.Jun 29 2023, 5:29 PM
Jdlrobson lowered the priority of this task from High to Medium.Jun 29 2023, 5:51 PM
Jdlrobson raised the priority of this task from Medium to High.

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

[mediawiki/extensions/Popups@master] Update popups to use codex buttons over mediawiki.ui.buttons

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

bwang removed bwang as the assignee of this task.Jul 10 2023, 7:40 PM
bwang subscribed.

Change 936323 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] Update popups to use codex buttons over mediawiki.ui.buttons

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

Edtadros subscribed.

Test Result - Beta

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

Test Artifact(s):

QA Steps

Go in an incognito window
Display a page preview
✅ AC1: A settings cog should appear in the bottom right and look like other icons in the page
✅ AC2: Clicking the settings cog should open a dialog with a close icon and button. Both should look normal

Screen Recording 2023-07-11 at 6.55.51 PM.mov.gif (1×1 px, 865 KB)

Jdlrobson renamed this task from Popups: Use Codex markup instead of mediawiki.ui markup to Popups: Use Codex markup for buttons instead of mediawiki.ui markup.Jul 14 2023, 6:11 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a subscriber: Mabualruz.

No matches for Popups for the styles:

There was a slight misunderstanding around the scope of the ticket however so I'm was seeing mw-ui-icon markup. I've created T341899 to handle that and modified this ticket to be about only the buttons.

Passing to Edward for one last round of QA.

Edtadros removed Edtadros as the assignee of this task.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Go in an incognito window
Display a page preview
✅ AC1: A settings cog should appear in the bottom right and look like other icons in the page
✅ AC2: Clicking the settings cog should open a dialog with a close icon and button. Both should look normal

Screen Recording 2023-07-17 at 9.22.59 AM.mov.gif (944×1 px, 1 MB)

Change 955777 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Popups@master] Fix settings button not working on reference previews

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