Page MenuHomePhabricator

Minerva Codex migration: section edit buttons should use Button template
Closed, ResolvedPublic1 Estimated Story Points

Description

Follow up work from T342908

Section edit buttons currently use MinervaUI::iconClass to generate their markup

TODO

  • Switch from HTML::element to Mustache templates

QA

  • Inspect section edit button markup, make sure they are using .cdx-button and .minerva-icon classes
  • Ensure same design as before, button states work normally

sign off

  • Verify there are no performance regressions relating to this change.

QA Results - Beta

ACStatusDetails
1T344007#9124336
2T344007#9124336

QA Results - Prod

ACStatusDetails
1T344007#9153890
2T344007#9153890

Event Timeline

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

[mediawiki/skins/MinervaNeue@master] Edit icon uses template parser

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

ovasileva lowered the priority of this task from High to Medium.Aug 10 2023, 5:13 PM
ovasileva set the point value for this task to 1.

Change 947377 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Edit icon uses template parser

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

NBaca-WMF added a subscriber: bwang.
NBaca-WMF subscribed.

@bwang to add test steps specific to this issue

Mhurd removed bwang as the assignee of this task.Aug 18 2023, 6:32 AM

@NHillard-WMF I'm unsure if I should move this out of QA? Description says "QA To be done as part of T343920", so probably 🤷‍♂️

Edtadros subscribed.

I will update the test results when T343920 is tested.

Test Result - Beta

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

Test Artifact(s):

QA Steps

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

Screenshot 2023-08-28 at 9.50.55 AM.png (452×949 px, 97 KB)

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

Since Mo is out we have reassigned to Jan to unblock Edward.

Test Result - Prod

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

Test Artifact(s):

QA Steps

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

I tested this out in prod and found the following issues

screenshot 19.png (653×1 px, 193 KB)

screenshot 20.png (981×1 px, 215 KB)

screenshot 21.png (1×977 px, 296 KB)

In Chrome and Safari the icons appear momentarily on load

screenshot 6.mov.gif (1×1 px, 552 KB)

screenshot 7.mov.gif (1×1 px, 637 KB)

The Echo issue is captured in https://phabricator.wikimedia.org/T345785 and the edit icon is captured in T345969. Thanks for capturing these Edward!

Edtadros updated the task description. (Show Details)

We'll reflect in our team retrospective what happened here. I've moved the QA steps across to T345969.