Page MenuHomePhabricator

Horizontal scroll appears on add a link card when there's a long server name.
Closed, ResolvedPublic


Issue: When there's an extra long server name, an obtrusive horizontal scroll appears in the Add a Link card. This makes it difficult for contributors to parse the information in the card.

This was observed in usability test B (UT-4)

Screen_Shot_2022-05-13_at_9.40.25_AM.png (356×493 px, 109 KB)

Possible Solution: Truncate the long server name with an ellipsis so that the horizontal scroll won't appear.

Event Timeline

matmarex moved this task from Incoming to Doing on the Editing-team (Kanban Board) board.
matmarex subscribed.

Probably not relevant in production, but it seems like an easy fix and it would make future tests easier to set up.

Change 802206 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/VisualEditor@master] ve.ui.MWLinkAnnotationInspector: Prevent long sitenames from messing up the layout

Change 802206 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] ve.ui.MWLinkAnnotationInspector: Prevent long sitenames from messing up the layout

Screenshot 2022-06-07 at 16.37.16.png (332×832 px, 40 KB)

That’s another thing, this task is not about the existing links’ popups, but the add/edit link ones. You can’t test that on beta cluster, because beta wikis have short wiki names, only on Patch Demo. For example,

Screenshot 2022-06-07 at 21-26-28 Editing Main Page - Patch demo (802877,6).png (351×535 px, 24 KB)


I better understand now. I was able to test on beta by editing the html

Screenshot 2022-06-07 at 22.55.31.png (56×1 px, 28 KB)

Screenshot 2022-06-07 at 22.54.16.png (1×2 px, 323 KB)

Screenshot 2022-06-07 at 22.54.37.png (586×1 px, 79 KB)