Page MenuHomePhabricator

Variant tab in Vector 2022 is too close to the tab on its left
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
Diskdance
Jul 6 2022, 12:54 PM
Referenced Files
Restricted File
Jul 31 2022, 8:34 PM
Restricted File
Jul 31 2022, 8:34 PM
F35371571: Screen Shot 2022-07-31 at 1.31.01 PM.png
Jul 31 2022, 8:32 PM
F35371570: Screen Shot 2022-07-31 at 1.31.24 PM.png
Jul 31 2022, 8:32 PM
F35349694: Screen Shot 2022-07-27 at 6.34.18 PM.png
Jul 28 2022, 1:35 AM
F35312555: image.png
Jul 9 2022, 4:59 AM
F35312289: Screen Shot 2022-07-08 at 3.07.11 PM.png
Jul 8 2022, 7:07 PM
F35309666: image.png
Jul 6 2022, 12:54 PM

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
The variant tab doesn't have correct margin. It's too close to the tab on its left.

image.png (153×468 px, 8 KB)

What should have happened instead?:
It should have correct margin, like that in the legacy vector:

image.png (163×534 px, 15 KB)

QA Results - Beta

ACStatusDetails
1T312212#8110711

QA Results - Prod

ACStatusDetails
1T312212#8118108

Event Timeline

Jdlrobson added subscribers: Jdrewniak, Jdlrobson.

@Jdrewniak are you aware of this issue and what might have caused it?

I'm not 100% sure this is a regression though -it looks more like a case of we removed the backgrounds and borders and didn't consider how this would look.

@Diskdance thank you for reporting this issue.

@Jdlrobson looking at the screenshots it seems like we lost ~25px of spacing.

Screen Shot 2022-07-08 at 3.07.11 PM.png (470×1 px, 63 KB)

@Diskdance thank you for reporting this issue.

@Jdlrobson looking at the screenshots it seems like we lost ~25px of spacing.

Screen Shot 2022-07-08 at 3.07.11 PM.png (470×1 px, 63 KB)

Thank you, and I would like to provide another screenshot with variant tab focused, which may help you identify this issue:

image.png (228×563 px, 10 KB)

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

[mediawiki/skins/Vector@master] Refactor Vector tabs layout for reduced size & complexity

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

Change 810968 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Refactor Vector tabs layout for reduced size & complexity

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

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

[mediawiki/skins/Vector@master] Refactor Vector tabs layout for reduced size & complexity

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

Change 815323 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Refactor Vector tabs layout for reduced size & complexity

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

Test Result - Beta

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

Test Artifact(s):

QA Steps

✅ AC1: Variant tab should be evenly spaced in zhwiki

Screen Shot 2022-07-27 at 6.34.18 PM.png (443×1 px, 102 KB)

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: zhwiki
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: Variant tab should be evenly spaced in zhwiki

Screen Shot 2022-07-31 at 1.31.24 PM.png (386×1 px, 103 KB)

Screen Shot 2022-07-31 at 1.31.01 PM.png (350×1 px, 46 KB)

{F35371592}

{F35371593}

Looks good, resolving!