Page MenuHomePhabricator

[Bug] Big empty gutter shown in notifications panel
Closed, ResolvedPublic

Description

Steps to reproduce

Login and visit https://en.m.wikipedia.beta.wmflabs.org/wiki/Barack_Obama#/notifications on the MinervaNeue mobile site.

Expected results

  • Screen space is used effectively

Actual results

  • A large white gutter is shown to the right of notifications

Screenshot from 2019-03-26 14-10-21.png (2×3 px, 197 KB)

Environments observed

  • Browser version: Chromium v73.0.3683.75
  • OS version: Ubuntu v18.10
  • Device model: Desktop
  • Device language: English

Check any additional observations

QA Results

StatusDetails
✅ PassedT219320#5166481

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
ovasileva moved this task from Incoming to Needs Prioritization on the Web-Team-Backlog board.
Niedzielski renamed this task from [Bug] Bit empty gutter shown in notifications panel to [Bug] Big empty gutter shown in notifications panel.Mar 27 2019, 1:35 PM
SBisson subscribed.

Marking as "external" to the Growth team since this is about the notifications overlay in MobileFrontend.

This bug is also noted in T220407: Unable to scroll notifications on iOS but not sure if those regressions were introduced at the same time.

The widget with the problem as far as I can see is defined in Echo not mobile-frontend. Does it just need a width:100% somewhere?

@Jdlrobson My apologies. I assumed this was controlled by MobileFrontend since the same component is not full width when used in Echo but that was just a guess. I didn't mean to dump it on your side.

I took a quick look though and it seems to be caused by this rule for tablets. I don't know if this is still desirable but it looks like it was intentional at the time.

Change 506071 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/MobileFrontend@master] Disable max-width on notifications overlay on large screens

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

Looks like the solution was straight forward (I think?!). Any chance of a review? ^

To be clear the gutter we want to remove is the red area here:

gutter.png (2×3 px, 313 KB)

Change 506071 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] 🐛 Notification overlay should take up full width on larger screens

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

Jdlrobson added subscribers: JTannerWMF, ovasileva.

Looks like this got fixed. Not sure if Growth and/or Reading web should be QAing and signing this off since it touches two products. @ovasileva @JTannerWMF ?

ovasileva added a subscriber: Edtadros.

Looks like this got fixed. Not sure if Growth and/or Reading web should be QAing and signing this off since it touches two products. @ovasileva @JTannerWMF ?

I think we can QA this. Tested on production and it looks good to me, but I'll let @Edtadros confirm as well.

Test Result

Status: ✅ PASS
OS: macOS Mojave
Browser: Chrome
Device: MBP
Emulated Device: iPhoneX, iPadPro, Pixel Slate

Test Artifact(s):
I tested this with a number of emulated devices in portrait mode. No white gutter appeared to the right of the notifications.

T219320.png (2×1 px, 693 KB)