Page MenuHomePhabricator

Minerva Codex migration: Use Codex
Closed, ResolvedPublic5 Estimated Story Points

Description

Following the preparation work done in the previous sprint we should be in a good place to update Minerva to use Codex

TODO

  • Update icon packs to target the new icon selectors as well as the existing selectors.
  • Drop mw-ui-icon-with-label-desktop selector. It doesn't apply in the new mode.
  • Update SkinMinerva::getSkinStyles() - Make sure mediawiki.ui.button and mediawiki.ui.icon are not added to the page and codex-search-styles is.
  • Ensure elements are flushed correctly (the flush selectors were tied to the old selectors)
  • Update Button.mustache
  • Remove IconLegacy and update existing references to Icon.mustache

QA

  • Check the section toggles work
  • Check the edit section button works
  • Test T343919 and resolve the ticket if fixed.
  • Make sure you have notifications and the red circle shows with a white number inside. Make sure this looks correct.

QA Results - Beta

QA Results - Prod

Event Timeline

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

[mediawiki/skins/MinervaNeue@master] Use !important for removing after

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

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

[mediawiki/skins/MinervaNeue@master] WIP: Switch Minerva to Codex

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

Change 947475 abandoned by Jdlrobson:

[mediawiki/skins/MinervaNeue@master] WIP: Switch Minerva to Codex

Reason:

See https://gerrit.wikimedia.org/r/c/mediawiki/skins/MinervaNeue/+/940251/

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

Change 947472 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Use !important for removing after

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

Jdlrobson lowered the priority of this task from High to Medium.Aug 11 2023, 10:22 PM
bwang removed bwang as the assignee of this task.Aug 18 2023, 5:16 PM
bwang subscribed.
ovasileva raised the priority of this task from Medium to High.Aug 22 2023, 4:36 PM

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

[mediawiki/skins/MinervaNeue@master] Make menuGroup.mustache use togglelist classes, ensuring ToggleList HTML is consistent. Remove duplicated CSS

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

Change 950043 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Make menuGroup.mustache use togglelist classes, ensuring ToggleList HTML is consistent. Remove duplicated CSS

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

Edtadros subscribed.

Test Result - Beta

Status: ❌ FAIL
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: Check the section toggles work

Screen Recording 2023-08-29 at 9.26.00 AM.mov.gif (914×866 px, 602 KB)

Screen Recording 2023-08-29 at 9.25.36 AM.mov.gif (914×866 px, 370 KB)

✅ AC2: Check the edit section button works

Screen Recording 2023-08-29 at 9.26.23 AM.mov.gif (914×866 px, 1 MB)

✅ AC3: Test T343919 and resolve the ticket if fixed.
See T343919#9112004

❌ AC4: Make sure you have notifications and the red circle shows with a white number inside. Make sure this looks correct.
There is no red around the notifications

Screen Recording 2023-08-29 at 9.27.27 AM.mov.gif (914×866 px, 1 MB)

Edtadros removed Edtadros as the assignee of this task.

Test Result - Prod

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

Test Artifact(s):

QA Steps

✅ AC1: Check the section toggles work

screenshot 2.mov.gif (1×2 px, 3 MB)

✅ AC2: Check the edit section button works

screenshot 3.mov.gif (1×2 px, 1 MB)

✅ AC3: Test T343919 and resolve the ticket if fixed.
See T343919#9112004

✅ AC4: Make sure you have notifications and the red circle shows with a white number inside. Make sure this looks correct.

screenshot 13.png (1×2 px, 416 KB)

screenshot 12.png (1×2 px, 613 KB)