Last modified: 2013-08-30 23:33:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51833, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49833 - VisualEditor: Quick transclusion dialog UX improvements
VisualEditor: Quick transclusion dialog UX improvements
Status: RESOLVED INVALID
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks: ve-templatesupport
  Show dependency treegraph
 
Reported: 2013-06-19 18:50 UTC by James Forrester
Modified: 2013-08-30 23:33 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2013-06-19 18:50:17 UTC
Template overall:
* Template panel should have a link to the template's definition page (if it's a real template)
* Template panel should have a link to the relevant MW Manual page (if it's a parser function)

Parameters:
* Label for parameter should use the "label" from TemplateData, not the wt name
* Label panel should use the "description" from TemplateData above the content box
* Label panel should indicate if a parameter is "mandatory" from TemplateData
* Label panel should show the "default" from TemplateData
* Label panel should indicate if a parameter is "deprecated" from TemplateData

Adding parameters:
* Template panel should show available unused parameters and way to add them
* Template panel should highlight available unused parameters that are mandatory
* Template panel should highlight available unused parameters that are in sets
* Insertion of a template with TemplateData should auto-insert the mandatory parameters
Comment 1 Krinkle 2013-06-24 23:05:34 UTC
updated:

Template panel:
* Link to the template page (if it's a transclusion from a MediaWiki page)
* Link to the MediaWiki.org Manual (if it's a parser function)
* Use "Root#description" from TemplateData: Done.

Parameter panel:
* Use "Param#label" from TemplateData: Done.
* Use "Param#description" from TemplateData: Done.
* Use "Param#required" from TemplateData: TODO.
* Use "Param#default" from TemplateData: TODO.
* Use "Param#deprecated" from TemplateData: TODO.
* Use "Param#type" from TemplateData: TODO.

"Add parameter" panel:
* Show available (unused) parameters
* Use "Param#required" data to prioritise/encourage use of those parameters
* Use "Root#sets" data to allow addition and/or completion of parameter sets
* Creating a new Template transclusion should start with all required parameters auto-inserted (instead of requiring the user to add them one-by-one).
Comment 2 James Forrester 2013-07-09 17:27:19 UTC
UX items at this point:

| Template panel:
| * Move “add parameter” button to alongside the search field, not below the results list, so it can be found
| * Link to the template page (if it's a transclusion from a MediaWiki page)
| * Link to the MediaWiki.org Manual (if it's a parser function)
| * Use "Param#required" data to prioritise/encourage use of those parameters
| * Use "Root#sets" data to allow addition and/or completion of parameter sets
| * Auto-add required parameters when creating a new Template transclusion
| * Double-click on a parameter in the selection menu should insert it
| * Up/down keys work in the parameter search field results, but not left/right, even though it’s not just a vertical list
| * Cursor keys can let you select parameters in the search results off the screen and the dialog doesn’t scroll
| * When adding a template, auto-add all mandatory parameters
| * Checkbox (?) to substitute a template on save, rather than leave as transclusion 
| 
| Parameter panel:
| * Use "Param#required" from TemplateData
| * Use "Param#default" from TemplateData
| * Use "Param#deprecated" from TemplateData
| * Use "Param#type" from TemplateData
Comment 3 James Forrester 2013-08-30 22:01:24 UTC
Have un-trackered-this;
Comment 4 James Forrester 2013-08-30 23:33:34 UTC
… of the remaining items, I've split them out into:

(In reply to comment #2)
> Template panel:
> * Link to the template page (if it's a transclusion from a MediaWiki page)
> * Link to the MediaWiki.org Manual (if it's a parser function)

Collectively https://bugzilla.wikimedia.org/show_bug.cgi?id=49772

> * Use "Param#required" data to prioritise/encourage use of those parameters

https://bugzilla.wikimedia.org/show_bug.cgi?id=50747

> * Use "Root#sets" data to allow addition and/or completion of parameter
> sets

https://bugzilla.wikimedia.org/show_bug.cgi?id=53609

> * Cursor keys can let you select parameters in the search results off the
> screen and the dialog doesn’t scroll

https://bugzilla.wikimedia.org/show_bug.cgi?id=53610

> * Checkbox (?) to substitute a template on save, rather than leave as
> transclusion 

https://bugzilla.wikimedia.org/show_bug.cgi?id=49904

> Parameter panel:
> * Use "Param#required" from TemplateData

https://bugzilla.wikimedia.org/show_bug.cgi?id=53611

> * Use "Param#default" from TemplateData

https://bugzilla.wikimedia.org/show_bug.cgi?id=52753

> * Use "Param#deprecated" from TemplateData

https://bugzilla.wikimedia.org/show_bug.cgi?id=53612

> * Use "Param#type" from TemplateData

https://bugzilla.wikimedia.org/show_bug.cgi?id=53613

So, closing as INVALID.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links