mediawiki-extensions-Visual.../modules/ve/ui
Trevor Parscal e888d7b985 Category UI improvements
Objectives:
* Ensure items don't get moved to the end when their sort-key is edited
* Add placeholder text and pending styling to input
* Auto-expand input to the end of the line
* Make the minimum input width smaller

Changes:

ve.ui.MWMetaDialog.js
* Added calls to fitInput on initialize
* Fixed sort key update and insert handlers to maintain item position when updating

ve.ui.GroupElement.js
* Added index argument to addItems, allowing items to be inserted at a specific location

ve.ui.PagePanelLayout.js
* Fixed CSS class name

ve.ui.StackPanelLayout.js, ve.ui.MenuWidget.js, ve.ui.SelectWidget.js
* Passed index argument through to group element

ve.ui.PanelLayout.js
* Fixed overflow direction for scrolling option

ve.ui.Inspector.css
* Moved border-box properties to text input widget class
* Set input widget within inspectors to be 100% by default

ve.ui.Layout.css
* Updated CSS class name
* Whitespace fixes

ve.ui.Widget.css
* Made text input widgets's wrapper default to 20em wide and the input inside it be 100%, using border-box to ensure proper sizing
* Adjusted category list item and input styles to make input appear more like a category item
* Whitespace fixes

ve.ui.MWCategoryInputWidget.js
* Made category input widget inherit text input widget, rather than just input widget

ve.ui.MWCategoryWidget.js
* Replaced group functionality by mixing in group element
* Added fitInput, which automatically make the input fill the rest of the line or take up the entire next line depending on how much space is left

VisualEditor.i18n.php
* Adjusted placeholder text for category input

Change-Id: I79a18a7b849804027473084a42c36133fdacad57
2013-05-10 00:19:46 +00:00
..
dialogs Category UI improvements 2013-05-10 00:19:46 +00:00
elements Category UI improvements 2013-05-10 00:19:46 +00:00
inspectors Merge "Fix range translation for surface fragments" 2013-04-30 17:58:39 +00:00
layouts Category UI improvements 2013-05-10 00:19:46 +00:00
styles Category UI improvements 2013-05-10 00:19:46 +00:00
tools EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
widgets Category UI improvements 2013-05-10 00:19:46 +00:00
ve.ui.Context.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ui.Dialog.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ui.DialogFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.Element.js Doc: Replace "@property @type {Type}" with "@property {Type}". 2013-03-28 21:21:56 +01:00
ve.ui.Frame.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ui.Inspector.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.ui.InspectorFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.js Fix ve.ui.get$$'s handling of jQuery selection 2013-04-22 20:36:42 +00:00
ve.ui.Layout.js Layouts, grids and panels 2013-03-15 15:12:56 -07:00
ve.ui.Tool.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ui.Toolbar.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ui.ToolFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ui.ViewRegistry.js Link inspector fixes 2013-04-24 18:29:55 -07:00
ve.ui.Widget.js Layouts, grids and panels 2013-03-15 15:12:56 -07:00
ve.ui.Window.js Mo' vectors (mo' problems) 2013-05-09 11:22:32 +01:00
ve.ui.WindowSet.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00