Merge pull request #75 from LazyBachelor/LPM-140
LPM-140 The Sprinting Update Adds sprint support across the web UI (board + issue detail), TUI kanban, CLI/REPL, and the Beads-backed storage layer. Changes: Introduces sprint entities in storage and exposes sprint operations via IssueService. Updates web board to support backlog vs. sprint columns, sprint selection, and sprint creation routes. Updates TUI kanban to show backlog + sprint columns and adds sprint selection/creation actions.
This commit is contained in:
@@ -211,11 +211,13 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
|
||||
{Key: "↑/k", Desc: "up"},
|
||||
{Key: "↓/j", Desc: "down"},
|
||||
{Key: "/", Desc: "search"},
|
||||
{Key: "n", Desc: "new sprint"},
|
||||
{Key: "S", Desc: "select sprint"},
|
||||
{Key: "pgup/pgdn", Desc: "page"},
|
||||
{Key: "h/l", Desc: "column"},
|
||||
{Key: "←/→", Desc: "move"},
|
||||
{Key: "a", Desc: "add"},
|
||||
{Key: "e/d/s/p/t/A", Desc: "edit"},
|
||||
{Key: "e/d/s/p/t/A/", Desc: "edit"},
|
||||
{Key: "x", Desc: "delete"},
|
||||
{Key: "q", Desc: "quit"},
|
||||
{Key: "?", Desc: "help"},
|
||||
@@ -237,6 +239,8 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
|
||||
{Key: "p", Desc: "change priority"},
|
||||
{Key: "t", Desc: "change type"},
|
||||
{Key: "A", Desc: "change assignee"},
|
||||
{Key: "S", Desc: "select sprint"},
|
||||
{Key: "n", Desc: "new sprint"},
|
||||
{Key: "q", Desc: "quit"},
|
||||
{Key: "?", Desc: "help"},
|
||||
},
|
||||
|
||||
@@ -247,8 +247,10 @@ func SortedIssues(issues []*models.Issue) []*models.Issue {
|
||||
func StatusOnly(issues []*models.Issue, status models.Status) []*models.Issue {
|
||||
out := make([]*models.Issue, 0, len(issues))
|
||||
for _, issue := range issues {
|
||||
if issue.Status == status ||
|
||||
(status == models.StatusOpen && issue.Status == models.StatusReadyToSprint) {
|
||||
if issue == nil {
|
||||
continue
|
||||
}
|
||||
if issue.Status == status {
|
||||
out = append(out, issue)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user