Skip to content

About

Backlog.md Kanban board for the Herdr app: the backlog board TUI as a native panel

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

herdr-backlog

A Herdr mod that puts a Backlog.md Kanban board inside the Herdr app: everything backlog board does in the terminal, plus the drafts, docs, decisions and statistics pages of backlog browser, as a native panel you can click, drag and drive from the keyboard.

Backlog board in Herdr

Features

  • Kanban and list views, columns by status or by milestone, hide empty columns
  • List sections share the pane: each scrolls on its own once they don't all fit, and collapsing one (click its heading or press C) gives its room to the others
  • Search (local + Backlog.md full-text) and type / priority / milestone / assignee / label filters
  • Task details: Markdown description, plan, notes and summary; checkable acceptance criteria and Definition of Done; subtasks, dependencies and blocked state; comments
  • Edit and create tasks in a form; change status and priority in one click
  • Move tasks by dragging or with the keyboard, several at once, with ordering kept
  • Archive, copy task ID, open the task file in an editor pane
  • Drafts: list, details, edit, new, promote to a task, archive
  • Docs: list by folder beside a Markdown reader; edit title, type, tags and content; new; archive
  • Decisions: list with status beside a reader; change status in a click; edit context, decision, consequences and alternatives; new; archive
  • Statistics: completion, counts by status, priority, milestone, assignee, type and label, recent activity, blocked and stale tasks
  • Live reload when the task files change (agents editing tasks show up at once); works on spaces on other machines too

Install

Requires the backlog CLI (npm i -g backlog.md, or mise use -g npm:backlog.md).

git clone https://github.com/travisat/herdr-backlog
herdr-backlog/install.sh   # copies mods/backlog and mods/backlog-split into ~/.config/herdr-app/mods and checks them

Then merge the binding from keys.json into ~/.config/herdr-app/keys.json, or use the command palette: Backlog board (toggle), or Backlog board (split right) to open the board beside the focused pane (ctrl-alt-shift-j).

ctrl-shift-j (mod.open:backlog) toggles the board: it switches to the space's Backlog tab, creating one only if there is none, and pressed again on that tab it goes back to the tab you came from.

The toggle opens the board on the Backlog.md project containing the space's terminal folder (the focused terminal's, else the active tab's) and saves that folder with the board, so it stays on that project. To open a board on any folder: herdr-app do tab.new --mod backlog --props '{"folder":"/path/to/project"}'.

Keys

Key Action
Tab, 1-6 Switch view: Board, List, Drafts, Docs, Decisions, Statistics
N New task
/ Search
T P I U F Filter by type, priority, milestone, assignee, labels
G Columns by status / by milestone
← → ↑ ↓ (H J K L) Navigate
Enter Task details
E Edit task (Ctrl+S saves)
M Move (arrows, Enter to drop)
Shift+M / Space Mark more tasks to move together
A Archive (task, draft, doc or decision)
Shift+P Promote a draft to a task
Y Copy task ID
O Open task file in an editor pane
Shift+H Hide / show empty columns
C Collapse / expand the selected task's list section
R Reload
? Help
Esc / Q Close / cancel

Mod commands for keys.json: backlog.new, backlog.search, backlog.view[:kanban|list|drafts|docs|decisions|stats], backlog.group, backlog.hide-empty, backlog.collapse[:<section>], backlog.help, backlog.refresh, backlog.open[:ID], backlog.edit, backlog.close, backlog.filter:<type|priority|milestone|assignee|labels>, backlog.move, backlog.archive, backlog.promote.

Development

node tests/model.test.mjs   # pure logic tests
./install.sh                # copy into Herdr; open boards reload

Edit in mods/backlog/ and run ./install.sh. Don't symlink the mod folder into Herdr's: Herdr doesn't watch through the link, so open boards keep running old code.

RECIPE.md is the brief for rebuilding the mod from scratch.

License

MIT, see LICENSE.

About

Backlog.md Kanban board for the Herdr app: the backlog board TUI as a native panel

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages