VisualEditor: When adding a new template, auto-open the "add parameter" section and put the cursor in the search dialog's input when we tab to it
Closed, ResolvedPublic

Description

Intention: Add a parameter to a template.

Expectation: That the cursor would automatically be present in the "Add parameter" text field (where it says "Parameter name"), so we could just start typing without having to reach for the mouse.

Steps to reproduce and results:

  1. Add or open any template.
  1. Start typing the name of a parameter.
  1. Discover that you are no longer able to just start typing the name, but must first reach for the mouse or trackpad, and then click to put the cursor inside the only possible place where you might be typing on that screen.

This was reported as a new and undesirable behavior with MediaWiki version 1.22wmf21, by a user who normally uses Firefox 24, Windows 8 and Vector skin and confirmed in Safari 6 on a Mac.


Version: unspecified
Severity: enhancement

bzimport set Reference to bz55925.
Whatamidoing-WMF created this task.Via LegacyOct 19 2013, 10:27 PM
Krenair added a comment.Via ConduitJul 21 2014, 8:05 PM

Changing this bug slightly to fit the current situation with tab indexes.

gerritbot added a comment.Via ConduitJul 21 2014, 9:10 PM

Change 148233 had a related patch set uploaded by Alex Monk:
Auto-open "Add parameter" part of template dialog when tabbed to or opening with no required/suggested params

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

Krenair added a comment.Via ConduitJul 22 2014, 11:37 PM

Should be done now. WhatamIdoing, feel free to reopen this if you disagree

gerritbot added a comment.Via ConduitJul 22 2014, 11:37 PM

Change 148233 merged by jenkins-bot:
Auto-open "Add parameter" part of template dialog when tabbed to or opening with no required/suggested params

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

Whatamidoing-WMF added a comment.Via ConduitAug 4 2014, 6:24 PM

Works for me! Thanks.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.