versionone / VersionOne.Client.VisualStudio

View and update VersionOne work items directly from Visual Studio
http://versionone.github.io/VersionOne.Client.VisualStudio
BSD 3-Clause "New" or "Revised" License
2 stars 10 forks source link

Use Tab key to navigate fields #71

Closed davidhaimovich closed 10 years ago

davidhaimovich commented 10 years ago

As a developer in Visual Studio, I want to keep my hands on the keyboard so that I can make edits quickly and easily. When I'm editing a workitem, I want the flow to be quick and easy, without a lot of unnecessary mouse clicking. When I have to use the mouse to move between fields on a workitem, I have an impediment to quick and easy editing. I want to press the Tab key to navigate to the next editable field of the row.

Acceptance Criteria: Given I have selected a workitem, When I press Tab, Then the VS Client advances the attribute selection to the next editable field.

MatiasHeffel commented 10 years ago

I've added the event Key Down to the different components (CustomNodeTextBox, NodeComboBox, NodeListBox) to catch the TAB key and then handle the event from the control to call BeginEdit method in the next NodeControl Item. For this I have one property that has the last column edited, and if the Node selected change, this property is set to null so the edited functionality starts in the Title column.

MatiasHeffel commented 10 years ago

Now I'll try to implement the shift + Tab functionality. Try to edit the previous editable cell

MatiasHeffel commented 10 years ago

The functionality for the shift + tab is working but with an issue that don't close the editor, so you have to press twice the shift+tab combination. Working right now on that.