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
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: an admin keeps boards tidy without opening the web; today the Boards list in
src/tui/screens/boards.tsmakes (n), copies (c) and deletes (D) a board, but cannot rename one or change its range, which the board page does throughchangeBoard({ kind: "title" },{ kind: "settings" }).Done looks like:
e renameandg range; anyone else does not.eopenspromptScreenprefilled with the board's title; enter callschangeBoard(f.app, f.user, slug, { kind: "title", title })and toasts "renamed" orboardRefusal(error); the list re-reads.gopenspromptScreenprefilled with the board's range (the same values the page's range select offers); enter callschangeBoardwith{ kind: "settings", range, refresh: <the board's current refresh> }so the refresh is kept, and toasts the result.test/tui-boards-rename.test.ts(driven astest/tui-boards.test.tsdrives the list) proves:erenames; an empty or too-long title toasts the refusal and keeps the old one;gchanges 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.