4 Commits

Author SHA1 Message Date
Robin Olsen
87259a1974 Improve TUI interface description for clarity and detail 2026-04-01 15:00:00 +02:00
Robin Olsen
da9f8ed4cb Merge pull request #87 from LazyBachelor/LPM-152
LPM-152 Auby Issues Fix web, Better Readme and Help Texts
2026-04-01 05:47:27 -07:00
Robin Olsen
730ad6a2e2 Merge pull request #86 from LazyBachelor/LPM-151
auby issues - arrow keys for navigation in kanban
2026-04-01 05:41:22 -07:00
viljarb
44f192b619 using h/l for navigation and arrow keys for moving issues in the tui kanban 2026-04-01 12:30:37 +02:00
3 changed files with 21 additions and 17 deletions

View File

@@ -77,15 +77,19 @@ func BaseDetails(interfaceType InterfaceType) TaskDetails {
case InterfaceTypeTUI:
interfaceDesc = `About our TUI Interface?
- TUI stands for Terminal User Interface. It is a user interface that uses text-based elements to allow users to interact with the application.
- TUI stands for Terminal User Interface.
It is a user interface that uses text-based elements to interact with the application.
- The main way to interact with a TUI is through keyboard inputs, where you can navigate through menus, select options, and input data using the keyboard.
- The main way to interact with a TUI is through keyboard inputs,
where you can navigate through menus, select options, and input data using the keyboard.
- At the bottom of the interface you will find the help menu, which lists available keybinds.
- The interface has parts:
- List View: This view shows the available issues in a list format, allowing you to browse through them and select one to work on.
- Kanban: This view allowtwos you to manage and track the progress of different of issues.
- List View: This view shows the available issues in a list format,
allowing you to browse through them and select one to work on.
- Kanban: This view allows you to manage and track the progress of different issues,
this also they main way of creating and managing sprints.
- Press "q" to quit task during the survey.`
case InterfaceTypeWeb:

View File

@@ -215,8 +215,8 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
{Key: "n", Desc: "new sprint"},
{Key: "S", Desc: "select sprint"},
{Key: "pgup/pgdn", Desc: "page"},
{Key: "h/l", Desc: "column"},
{Key: "←/→", Desc: "move"},
{Key: "←/→", Desc: "column"},
{Key: "h/l", Desc: "move"},
{Key: "a", Desc: "add"},
{Key: "e/d/s/p/t/A/D", Desc: "edit"},
{Key: "x", Desc: "delete"},
@@ -225,8 +225,8 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
},
FullItems: []HelpItem{
{Key: "v", Desc: "list view"},
{Key: "h/l", Desc: "switch column"},
{Key: "←/→", Desc: "move issue"},
{Key: "←/→", Desc: "switch column"},
{Key: "h/l", Desc: "move issue"},
{Key: "↑/k", Desc: "up"},
{Key: "↓/j", Desc: "down"},
{Key: "/", Desc: "search"},
@@ -240,7 +240,7 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
{Key: "p", Desc: "change priority"},
{Key: "t", Desc: "change type"},
{Key: "A", Desc: "change assignee"},
{Key: "D", Desc: "manage dependencies"},
{Key: "D", Desc: "manage dependency"}, // dependencies -> dependency cuz dependencies added a newline
{Key: "S", Desc: "select sprint"},
{Key: "n", Desc: "new sprint"},
{Key: "q", Desc: "quit"},

View File

@@ -27,20 +27,20 @@ var defaultKanbanKeyMap = KeyMap{
key.WithHelp("v", "dashboard"),
),
MoveColumnLeft: key.NewBinding(
key.WithKeys("h"),
key.WithHelp("h", "prev column"),
key.WithKeys("left"),
key.WithHelp("", "prev column"),
),
MoveColumnRight: key.NewBinding(
key.WithKeys("l"),
key.WithHelp("l", "next column"),
key.WithKeys("right"),
key.WithHelp("", "next column"),
),
MoveIssueLeft: key.NewBinding(
key.WithKeys("left", "["),
key.WithHelp("/[", "move issue left"),
key.WithKeys("h", "["),
key.WithHelp("h/[", "move issue left"),
),
MoveIssueRight: key.NewBinding(
key.WithKeys("right", "]"),
key.WithHelp("/]", "move issue right"),
key.WithKeys("l", "]"),
key.WithHelp("l/]", "move issue right"),
),
AddComment: key.NewBinding(
key.WithKeys("c"),