Page MenuHomePhabricator

Decrease minimum width for Vector
Closed, ResolvedPublic2 Estimated Story Points

Description

NOTE: T258116 needs to be done first
NOTE: Blocked on completion of the A/B test for the search in header move. Do not touch prior to November 4, 2020
NOTE: T264218 follows this up by removing it altogether

Background

We introduced a minimum width as a way to avoid having to keep compatibility with the previous HTML structure which used absolute positioning. With the new changes introduced to the DOM order and the change safely in production we can minimize or completely remove this minimum width.

Acceptance criteria

  • Reduce minimum width to 646px so that it doesn't include the personal tools in its calculation, allowing the personal tools to drop underneath the search box and logo

QA Results - Beta

ACStatusDetails
1T264206#6598762

QA Results - Prod

ACStatusDetails
1T264206#6622348

Event Timeline

ovasileva updated the task description. (Show Details)

Change 631215 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/Vector@master] Reduce min-width so it doesn't include personal tools

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

Jdlrobson renamed this task from Remove or decrease minimum width for Vector to Decrease minimum width for Vector .Sep 30 2020, 5:24 PM
Jdlrobson updated the task description. (Show Details)

I've split out the removal, as the work involved is different. We can always decline this if we decide to remove outright.

Given the train delay, this can be worked on next week. Even if the changes are merged on Monday the A/B test will have concluded, before this code has ridden the train. The fix here is super trivial in comparison to T264206, so I'd advise doing it anyway even if we work on T264206 which will likely take a little longer.

@Jdlrobson, @alexhollender - that sounds good. Did we decide on what we were going to lower it to? 500px?

The current implementation of the header will work perfectly fine up to 646px (40.375em) with the relaxation of fixed height so we'd drop to that value. It will need some tweaks in T264218 to be optimized any lower than that.

ovasileva set the point value for this task to 2.

Change 631215 merged by jenkins-bot:
[mediawiki/skins/Vector@master] Reduce min-width so it doesn't include personal tools

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

Test Result - Beta

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

Test Artifact(s):

QA Steps

✅ AC1: Reduce minimum width to 646px so that it doesn't include the personal tools in its calculation, allowing the personal tools to drop underneath the search box and logo

Screen Shot 2020-11-02 at 6.45.23 PM.png (315×689 px, 76 KB)

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: Prod
OS: macOS Catalina
Browser: Chrome
Device: MBP
Emulated Device: NA

Test Artifact(s):

QA Steps

✅ AC1: Reduce minimum width to 646px so that it doesn't include the personal tools in its calculation, allowing the personal tools to drop underneath the search box and logo

Screen Shot 2020-11-14 at 4.19.23 PM.png (330×654 px, 90 KB)