Page MenuHomePhabricator

[Zebra] remove feature flag & merge Zebra into default styles
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

After the Zebra module has been refactored T347638 and tested T347711 we can remove the module entirely and merge the affected files into the default Vector 2022 CSS module. This step is changes many files and should be reviewed carefully. It requires selectors on the HTML element to be updated, i.e. removing & from &.vector-feature-toc-pinned-enabled. We also should carefully review the mixins and variables after the merge.

Prerequisites

T353008 is done.

TODO

  • Decide whether it is useful/less risky to backport a change to enable Zebra everywhere in production prior to the wmf.9 train deployment to catch bugs earlier in the sprint.
  • Move the styles
  • Update skin.json so Zebra is the default value.

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Jdlrobson set the point value for this task to 3.Nov 9 2023, 6:21 PM

Estimated by Jon, Kim, Mo: per Kim Pixel will catch a lot of the issues here but we may need to make some manual fixes as we do this.

Change 976306 had a related patch set uploaded (by Jdrewniak; author: Jdrewniak):

[mediawiki/skins/Vector@master] [WIP] Merge Zebra module CSS into skins.vector.styles

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

Change 975932 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] Zebra remove feature flag

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

Change 975933 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] Zebra merge Zebra into default styles

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

Jdlrobson changed the task status from Open to Stalled.Nov 21 2023, 11:09 PM

Per standup we'll look to do this next sprint given recent bugs to reduce risk given the planned deployment (please do not merge this until then)

Change 976708 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] Zebra prepare for HTML Cache issue

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

We need to merge 1 patch for this task asap, so we can mitigate html caching issues https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/976708/

Jdlrobson changed the task status from Stalled to Open.Nov 30 2023, 6:26 PM

Change 976708 merged by jenkins-bot:

[mediawiki/skins/Vector@master] [Zebra] Make .vector-column-start cache compatible

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

"Decide whether it is useful/less risky to backport a change to enable Zebra everywhere in production prior to the wmf.9 train deployment to catch bugs earlier in the sprint."

I think we decided to backport this tomorrow?

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

[mediawiki/skins/Vector@wmf/1.42.0-wmf.7] [Zebra] Make .vector-column-start cache compatible

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

Jdlrobson added a subscriber: Mabualruz.
This comment was removed by Jdlrobson.
Jdlrobson added a subscriber: KSarabia-WMF.
Jdlrobson updated Other Assignee, added: Jdrewniak.

There are 2 patches that need to be merged one after the other. This will need to be merged before Monday (ideally Thursday at latest).

Mo will rebase this and move into code review.

Change 979704 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.42.0-wmf.7] [Zebra] Make .vector-column-start cache compatible

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

Mentioned in SAL (#wikimedia-operations) [2023-12-05T21:27:42Z] <jforrester@deploy2002> Started scap: Backport for [[gerrit:979704|[Zebra] Make .vector-column-start cache compatible (T347712 T351830)]], [[gerrit:980467|Fix nonzebra sticky container scrolling behavior and scrollable indicator (T352464)]]

Mentioned in SAL (#wikimedia-operations) [2023-12-05T21:30:00Z] <jforrester@deploy2002> jdlrobson and jforrester and jdrewniak: Backport for [[gerrit:979704|[Zebra] Make .vector-column-start cache compatible (T347712 T351830)]], [[gerrit:980467|Fix nonzebra sticky container scrolling behavior and scrollable indicator (T352464)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2023-12-05T21:40:32Z] <jforrester@deploy2002> Finished scap: Backport for [[gerrit:979704|[Zebra] Make .vector-column-start cache compatible (T347712 T351830)]], [[gerrit:980467|Fix nonzebra sticky container scrolling behavior and scrollable indicator (T352464)]] (duration: 12m 50s)

Change 976306 abandoned by Jdrewniak:

[mediawiki/skins/Vector@master] [WIP] Merge Zebra module CSS into skins.vector.styles

Reason:

Abandoned in favour of: https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/975933

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

Decide whether it is useful/less risky to backport a change to enable Zebra everywhere in production prior to the wmf.9 train deployment to catch bugs earlier in the sprint.

Given the recent bug reports, we should enable this by feature flag first, after we've addressed the bugs relating to the table of contents scrolling (T352930 and T352851)

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

[mediawiki/skins/Vector@master] Zebra: reflect default configuration

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

Change 982904 abandoned by Jdlrobson:

[mediawiki/skins/Vector@master] Zebra: reflect default configuration

Reason:

Flag will be removed in https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/975933

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

Change 975933 merged by jenkins-bot:

[mediawiki/skins/Vector@master] [Zebra] Merge skins.vector.zebra.styles module into skins.vector.styles

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

Change 975932 abandoned by Mabualruz:

[mediawiki/skins/Vector@master] Zebra remove feature flag

Reason:

covered by 975933

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

ovasileva subscribed.

@ovasileva to do some testing of Zebra as part of sign-off

Change 989172 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] [Zebra] Remove !important

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

Change 989172 merged by jenkins-bot:

[mediawiki/skins/Vector@master] [Zebra] Remove !important

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

This will sit here until the train has finished running (next Thursday)

The zebra feature flag seems removed now.