Page MenuHomePhabricator

New Vector 2022's header is too wide when you have talk pages messages, are using the clock gadget and are on mediawiki/commons or wikidata
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

What happens?:

Only 80% of the header can be seen at one time:

Screen Shot 2022-02-11 at 11.59.18 AM.png (288×2 px, 116 KB)

(requires minimum width of 1720 pixels to display everything)

In Chrome, at default zoom, in a browser window that stretches the full width of a normal laptop.

What should have happened instead?:

I should always be able to see everything:

Screen Shot 2022-02-11 at 12.02.51 PM.png (126×2 px, 62 KB)

...except that I shouldn't have to reduce the window to 80% of the normal width to be able to see the entire header. (@alexhollender_WMF 's CSS fix for the fixed-narrow-width of the page's contents doesn't solve this problem.)

QA Results - Beta

ACStatusDetails
1T301583#7882675

QA Results - Prod

ACStatusDetails
1T301583#7891607

Event Timeline

thanks for the bug report @Whatamidoing-WMF.

@Jdlrobson @ovasileva I thought we fixed this? I remember us doing some work to make the "You have new messages" thing wrap to a second line when the screen got more narrow.

Several reasons for this:

  • The current thesholds do not take into account gadgets injecting themselves into the user menu (this was never intended to be supported)
  • The current thresholds do not change when the ULS switcher is added.
  • The long username

We collapse the user messages under 1200px:

Screen Shot 2022-02-15 at 11.23.48 AM.png (680×1 px, 148 KB)

At around 1200-1300px I am seeing friction (e.g. a horizontal scrollbar) without a long username or the gadget :

Screen Shot 2022-02-15 at 11.22.41 AM.png (514×2 px, 138 KB)

There are only two practical solutions here on our side:

  1. always collapse the "you have new messages onto a second line
  2. reduce the max-width of the search box.

In addition to this we should suggest a better home for the clock to the gadget developer.

Jdlrobson renamed this task from New Vector 2022's header is too wide when you have talk pages messages (requires minimum width of 1720 pixels) to New Vector 2022's header is too wide when you have talk pages messages, are using the clock gadget and are on mediawiki/commons or wikidata.Feb 15 2022, 7:31 PM
Jdlrobson updated the task description. (Show Details)

@Jdlrobson thanks for the information. I mainly wanted to double check that whatever solution we had worked on was still working as expected (which it sounds like it is). I have a larger to-do to look at various screen widths and responsive behavior so will include this in that audit. Not sure we need to do anything here just yet.

So should this be moved out the sprint board..?

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

[mediawiki/skins/Vector@master] Always collapse Echo alert on "wide" headers

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

I think the easiest fix here, is to always collapse the new messages line on cluttered headers.

Test wiki created on Patch demo by Jdlrobson using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/3b45dc8495/w/

bwang moved this task from Code Review to QA on the Web-Team-Backlog (Kanbanana-FY-2021-22) board.
bwang subscribed.

Change 779131 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Always collapse Echo alert on "wide" headers

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

Test Result - Beta

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

Test Artifact(s):

QA Steps

✅ AC1: The elements in the header should be visible at all resolutions.

Screen Recording 2022-04-26 at 2.13.29 PM.mov.gif (234×1 px, 1 MB)

Edtadros subscribed.

Test Result - Prod

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

Test Artifact(s):

QA Steps

✅ AC1: The elements in the header should be visible at all resolutions.

Screen Recording 2022-04-29 at 7.42.04 AM.mov.gif (412×3 px, 1 MB)

Edtadros updated the task description. (Show Details)

Looks good, resolving!

Test wiki on Patch demo by Jdlrobson using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/3b45dc8495/w/