Page MenuHomePhabricator

[Layout] Ready Vector's new CSS grid layout for wider deployment
Closed, ResolvedPublic

Description

The wgVectorGrid flag implemented in T303484 enables layout in Vector via CSS grid. This has now been enabled on the beta cluster. In the initial deploy, no visual changes are expected, unless approved by @alexhollender_WMF

There are a few remaining issues that must be fixed prior to deployment

TODO

Expected visual changes

  • The footer will go full width (T293443)
  • The top of the TOC should align with the hr under the page title

QA steps

Please check the grid layout in the following browsers:

  • IE11
  • Edge (latest)
  • Chrome
  • Firefox
  • Opera
  • Safari
  • iPad

Please provide screenshots of how the new layout looks in these browsers.

In all browsers the interface should be usable but the screenshots should be manually reviewed as part of sign off.

Sign off steps

  • Move T312241 into the sprint board

Event Timeline

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

[mediawiki/skins/Vector@master] Layout: Fixes content alignment issues

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

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

[mediawiki/skins/Vector@master] Layout: Fixes table of contents alignment issues

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

Change 810122 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Layout: Fixes content alignment issues

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

Change 810123 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Layout: Fixes table of contents alignment issues

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

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

:info-i: Grid update! Bernard and I reviewed https://pixel.wmcloud.org/reports/desktop-development/ and we believe all the UI regressions flagged there are expected improvements. We are moving the grid into QA now so that we can look to deploy it ASAP after inspiration week. @alexhollender_WMF @Edtadros next week is inspiration week so we’d like to target deployment the week after. In this case we want QA and design review to happen in parallel. I’m going to put this in the QA column

Edtadros subscribed.

Test Result - Beta

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

Test Artifact(s):

QA Steps

For the browsers below, the following criteria should be validated:

  • The footer will go full width (T293443)
  • The top of the TOC should align with the hr under the page title
ACBrowserOSResolutionFull Width FooterTOC AlignmentComments
❌ AC1IE11Windows 101600x1080
Screen Shot 2022-07-13 at 4.29.32 PM.png (1×1 px, 875 KB)
Screen Shot 2022-07-13 at 4.30.34 PM.png (1×1 px, 437 KB)
1) No TOC 2) At 1600 width it still requires scrolling to the right. As a result the menu is off screen.
Screen Shot 2022-07-13 at 4.27.01 PM.png (1×1 px, 916 KB)
✅ AC2Edge (latest)Windows 111600x1080
Screen Shot 2022-07-13 at 9.28.52 PM.png (1×1 px, 1 MB)
Screen Shot 2022-07-13 at 9.29.02 PM.png (1×1 px, 1 MB)
✅ AC3ChromeWindows 111600x1080
Screen Shot 2022-07-13 at 9.45.15 PM.png (1×1 px, 1 MB)
Screen Shot 2022-07-13 at 9.47.12 PM.png (1×1 px, 1 MB)
✅ AC4FirefoxWindows 111600x1080
Screen Shot 2022-07-13 at 9.51.07 PM.png (1×1 px, 1 MB)
Screen Shot 2022-07-13 at 9.52.00 PM.png (1×1 px, 1 MB)
✅ AC5OperaWindows 111600x1080
Screen Shot 2022-07-13 at 9.56.41 PM.png (1×1 px, 1 MB)
Screen Shot 2022-07-13 at 9.57.26 PM.png (1×1 px, 1 MB)
✅ AC6SafariMacOS Monterey1600x1080
Screen Shot 2022-07-13 at 10.12.45 PM.png (1×1 px, 390 KB)
Screen Shot 2022-07-13 at 10.12.54 PM.png (1×1 px, 561 KB)
❓ AC7iPadiOS 15.5Resolution: 1620x2160 px Viewport: 810 x 1010 px
Screen Shot 2022-07-13 at 10.05.35 PM.png (825×619 px, 420 KB)
The TOC covers the footer.
Screen Shot 2022-07-13 at 10.07.26 PM.png (625×829 px, 438 KB)
Screen Shot 2022-07-13 at 10.06.27 PM.png (831×623 px, 410 KB)
Screen Shot 2022-07-13 at 10.08.09 PM.png (624×827 px, 492 KB)

@Jdlrobson , the question mark on AC7 is just the first time I saw the TOC overlapping the footer. I'm not sure if this is as designed or not. I did go back and look at Safari and saw the same, so the issue isn't iPad specific, it's vertical resolution specific.

Screen Shot 2022-07-13 at 10.13.54 PM.png (1×1 px, 444 KB)

Thanks @Edtadros I'm marking T287609 as a blocker for the grid deployment to make sure the sidebar is always collapsed by default here.

Before gridAfter grid (with sidebar collapsed)
{F35317201}
Screen Shot 2022-07-13 at 4.27.01 PM.png (1×1 px, 916 KB)

Minus the sidebar this seems an improvement, does that work for you @ovasileva . I've opened T313066 for the reamining issues.

Regarding the footer iPAd issue I hadn't seen that before. It doesn't look like a rare case. @alexhollender_WMF do you consider T313060 a blocker for deploying the grid? If so, I suggest reverting and reopening T293443 to restore the old layout with the footer under the content for now.

Jdlrobson updated the task description. (Show Details)