zoccihedron/wpi-suite — pull request #421 by jnallard (2014-05-04 04:04:56+00:00)
Title: Fix #390 power user options

Fixes #390
Fixes #392

Users can now hit enter on most text fields, and have an action associated with them.

When Enter Is pressed:
Create Deck Field - hits the create deck button
Rename field will click the rename field button
Add card field - hits the add card button
NameField - Will jump to the description field
New ReqName - Will Jump to the new req description
Text Entry - Will hit the vote button
Final Estimate Field - Will either hit set estimate or jump to the note field if it can't vote.
Note field will try to press the set button
User preferences email field - Will try to save the email if possible, and closes the tab on success

When Tab is pressed:
You can jump from the new requirement description to the CreateAndAddbutton

Focuses:
The new game focus, will focus on the name, and highlight the text, so the default name can be overwrittien easily.
New Requirement, default focus will be on the new req name field
Text Entry, default focus will be on the estimate field when a req is chosen
View Results, default focus will be on the final estimate field

Things to try for efficiency testing:
Create a deck (0-10) by typing the name and hitting enter, renaming it and hitting enter, and creating a sequence of numbers for the cards, without pressing any of the buttons.

Create a new game, and rename it at the start, by overwriting the text. Hit enter then type a description.
Hit the new requirement button (no mouse from this point on) and type a name, then hit enter, then a description, then tab, then enter, and a new requirement will be quickly added.

Play a game with the text entry debt, and vote on a requirement after selecting it from the list without manually focusing on the text field, not hitting the button.
Do the same thing with setting a final estimate.