Page MenuHomePhabricator

Watchlist Expiry: Popup expiry dropdown cut off in Visual Editor
Closed, ResolvedPublicBUG REPORT

Description

As a Watchlist Expiry user, I want the pop-up (for watch via star) to be fully displayed when I'm in VisualEditor, so that I can successfully watch a page temporarily.

Background: If you use the watchstar in Visual Editor, the expiry dropdown can get cut off, obscuring some of the options. See screenshot. This occurs on Vector and MonoBook. I cannot use the watchstar in VE when using Timeless.

Acceptance Criteria:

  • Adjust pop-up so that it is fully displayed when user chooses to watch via star and in VE mode

Steps to reproduce problem:

  1. Find a short article on the wiki.
  2. Open the Visual Editor.
  3. Click the watch star
  4. In the popup, open the expiry menu

Expected behavior: You can see all the options in the dropdown.
Observed behavior: Some of the options are cut off.

N.B. Sometimes you are not able to interact with the watch popup in VE. I think this happens when you click the watchstar while VE is still loading (when the loading bar is still there).

Environment:

Screenshot examples:

ve_dropdown.png (329ร—591 px, 20 KB)

Screen Shot 2020-08-14 at 5.24.09 PM.png (424ร—1 px, 78 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptAug 14 2020, 10:12 AM

Change 620145 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/core@master] Move notification overlay outside mw-body

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

Change 620145 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/core@master] Move notification overlay outside mw-body

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

If I'm not mistaken, moving the notification overlay outside of mw-body could potentially fix T260432: Watchlist Expiry: Watchstar popup not always usable on VisualEditor

Change 620145 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/core@master] Move notification overlay outside mw-body

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

If I'm not mistaken, moving the notification overlay outside of mw-body could potentially fix T260432: Watchlist Expiry: Watchstar popup not always usable on VisualEditor

It might fix T260262: Watchlist Expiry: popup is blocked by other elements in Monobook as well.

Change 620145 merged by jenkins-bot:
[mediawiki/core@master] Move notification overlay outside $content

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

Change 626783 had a related patch set uploaded (by HMonroy; owner: HMonroy):
[mediawiki/core@master] Move notification overlay outside $content

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

Change 626918 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/core@master] Move notification area to end of body

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

Change 626783 abandoned by HMonroy:
[mediawiki/core@master] Move notification overlay outside $content

Reason:
A new solution has been developed in patch: https://gerrit.wikimedia.org/r/c/mediawiki/core/ /626918

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

Change 626918 merged by jenkins-bot:
[mediawiki/core@master] Move notification area to end of body

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

I cannot reproduce this anymore.

To maximise the chance of spotting an issue I tried to make the watch popup as large as possible relative to the VE interface. I chose a short article with a long title (so the watch popup is taller) and tested with the browser zoomed to about 150-170%.

I could not see any issues on Firefox and Safari on MonoBook, Vector new and Legacy, Minerva, Modern and Timeless.

In some skins the popup overlaps the VE toolbar to some extent, which might interfere with users, e.g.:

ve_toolbar_overlap_vector_legacy.png (1ร—1 px, 180 KB)

This occurs on Vector legacy (and new if the screen is small enough), Modern, MonoBook.

For some of the other testing I did around this change, see T260432.

Test Environment: Various different versions of https://en.wikipedia.beta.wmflabs.org.

ifried subscribed.

I have tested this on https://en.wikipedia.beta.wmflabs.org, and the pop-up is no longer blocked while editing a short page in VE (screenshot examples provided below). I'm marking this work as Done.

Screen Shot 2020-09-21 at 7.22.45 PM.png (379ร—918 px, 81 KB)

Screen Shot 2020-09-21 at 7.22.28 PM.png (377ร—881 px, 68 KB)