danielway / tty-form

A generic framework for building multi-step forms atop TTY-based interfaces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Analysis around UX of navigation

danielway opened this issue · comments

Analyze the UX of navigation within forms.

  • Navigation between steps
  • Navigation between controls
  • Navigation within controls

Consider the different types of controls (e.g. single/multi-line text, select lists, suggestions, etc) and flow when making edits to previous submissions.

Rather than tackling forward and backward navigation from the start, I'm going to prioritize forward navigation. I can always revisit returning to previous steps/prompts later, but I don't see it being a valuable use-case for git-cc.

Generally speaking:

  • ENTER/TAB is to proceed through the form or confirm a selection
  • CTRL+C to cancel/quit the form
  • LEFT/RIGHT within a text field (single or multi-line) to move the cursor
  • UP/DOWN within a text field with suggestions to select an option
  • UP/DOWN within a list to select an option
  • UP/DOWN within a multi-line text field to move the cursor

Within a list (e.g. for trailers):

  • LEFT/RIGHT switches list/table fields
  • UP/DOWN switches between options