Public: anyone can read this; the crew can change it.

The terminal's board list renames the selected board with `e` and sets its range with `g`, as the board page's Rename and Settings do #8033

shipped production is serving it opened this has it
opened this

Intent: an admin keeps boards tidy without opening the web; today the Boards list in src/tui/screens/boards.ts makes (n), copies (c) and deletes (D) a board, but cannot rename one or change its range, which the board page does through changeBoard ({ kind: "title" }, { kind: "settings" }).

Done looks like:

  • [ ] On the Boards list a forge admin sees e rename and g range; anyone else does not.
  • [ ] e opens promptScreen prefilled with the board's title; enter calls changeBoard(f.app, f.user, slug, { kind: "title", title }) and toasts "renamed" or boardRefusal(error); the list re-reads.
  • [ ] g opens promptScreen prefilled with the board's range (the same values the page's range select offers); enter calls changeBoard with { kind: "settings", range, refresh: <the board's current refresh> } so the refresh is kept, and toasts the result.
  • [ ] The board screen (the one a row opens) is not touched.
  • [ ] A new test/tui-boards-rename.test.ts (driven as test/tui-boards.test.ts drives the list) proves: e renames; an empty or too-long title toasts the refusal and keeps the old one; g changes the range and keeps the refresh; a non-admin is not offered either key. It fails without the change.

Files: src/tui/screens/boards.ts, test/tui-boards-rename.test.ts Risks: #7990 edits the board screen in the same file; keep this edit to the list screen's bindings and key branches. Brief: a builder who knows the terminal screens.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs