Last modified: 2014-07-24 02:30:39 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 T70495, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68495 - VisualEditor: Template dialog should provide a way to add parameters up front
VisualEditor: Template dialog should provide a way to add parameters up front
Status: NEW
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-24 02:30 UTC by Krinkle
Modified: 2014-07-24 02:30 UTC (History)
4 users (show)

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


Attachments

Description Krinkle 2014-07-24 02:30:39 UTC
Right now there's imho two usability issues with the default (simplified) Template editor related to getting to the screen for adding parameters.

I expect to see an input field and a pool of parameters to pick from right after clicking.

Instead there is a widget labelled "Add more information". This is apparently the button to unhide the panel to add parameters. I'm not sure how this is useful, we can just ditch that button and have that always be visible? (maybe in the odd case of templates with no known parameters or explicitly documented as taking none we could hide it behind a button to avoid confusion, but we should optimise for the common case).

This widget is confusing because:
* It's labelled "more" information, but at this point it's the first parameter, not an additional one (unless you count the template name as information).
* It's called "information" which is a bit vague (we use "parameter" and "field" elsewhere).
* After inserting a parameter, the insertion panel goes away and I have to re-open it again. I recall it being there from the start and staying there in the past. Because it's implemented as a placeholder for an individual parameter now, this is presumably no longer possible. I think we should make this panel the "add parameter" interface, and not have "add parameter" insert this placeholder panel for a one-off use.

I'd say, as a first step (enough to fix this bug), hide the button, have the panel be visible from the start. And then continue like it is now (after inserting the first, the "add more information" button is used to add additional parameters.

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


Navigation
Links