Page MenuHomePhabricator

VisualEditor: Make defaultsort input field wider
Closed, ResolvedPublic

Description

To fit long page titles.

There's plenty of empty space in the dialog box that could be put to use.


Version: unspecified
Severity: minor

Details

Reference
bz51012

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:02 AM
bzimport set Reference to bz51012.
TTO created this task.Jul 9 2013, 7:34 AM

Created attachment 14832
Screenshot of 30em width in default sort field

So I've looked into this a bit and took some screenshots.

Currently this is set in the class .oo-ui-textInputWidget and is set to 20em. The text input widget appears in Options -> Categories, Options -> Page Settings, and Insert -> Reference.

These 3 fields all look acceptable at a width of 30em. We could also go for 100% width of the div. I like the look of this in the two Options areas, although this looks a bit odd in the Reference dialog "group by" field. I think that even 20em was too wide for it to begin with- maybe we should add a special class here?

Any opinions? I like both 30 em and 100%, and since reference dialog is likely to undergo radical UI changes the size of the group by field in the reference dialog could be ignored for the time being.

Attached:

Created attachment 14833
Screenshot of 100% width in default sort field

Attached:

Created attachment 14834
Other dialogs affected by change

Attached:

Change 119092 had a related patch set uploaded by Mvolz:
Increases width of defaultsort and page redirect fields in options dialog

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

Change 119092 merged by jenkins-bot:
Increases width of defaultsort and page redirect fields in options dialog

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