Skip to content

Requests page: bulk make tickets, archive, delete - #24

Merged
nerdburn merged 5 commits into
mainfrom
feat/request-bulk-actions
Nov 25, 2026
Merged

nerdburn merged 5 commits into
mainfrom
feat/request-bulk-actions

Conversation

@nerdburn

Copy link
Copy Markdown
Owner

Stacked on #23.

What

  • Checkboxes on each request row and a select-all checkbox in the header. A selection only covers rows on screen.
  • Actions menu: Make tickets, Archive, Unarchive, Delete. One request to the server per action (POST /api/board/p/<context>/requests-bulk), one commit.
  • Archive sets a request's status to archived: hidden by default, shown with the "Show ticketed, done, stale & archived" switch, and restorable.
  • Delete sets it to deleted: gone from the board, lore_recall and the status summary. The record stays in requests.yaml, so Undo works and the id is never reused.
  • Fold. Requests a person archived or deleted are left out of the fold's prompt and never changed by it. Because the fold cannot see them, it may number a new request with one of their ids; reidAroundClosed gives that proposal the next free id.
  • workPromoteMany makes tickets for several requests in one write, skipping ones already tracked.

Testing

npm test: 487 pass, with new tests for the bulk API (roles, each action, unknown ids, restore) and the fold's id handling. Checked in a browser against a local board: selecting rows, select-all, each menu action, and Undo after delete.

Known gap

A fold that is mid-run when someone archives a request rewrites requests.yaml from what it read at the start. The run's rebase keeps both changes unless they touch the same lines, in which case the fold's version wins and the archive is lost for that request.

🤖 Generated with Claude Code

nerdburn and others added 4 commits November 24, 2026 14:34
…one click from becoming one

/board/p/<context>/requests lists what the fold recorded the client asking
for. By default it shows requests that are not done or stale and have no
ticket; a switch shows the rest. A member can make a ticket from a row.
A request that reads like an open ticket says which, so a duplicate is
less likely.

Promoting a long request now gives the ticket a short title and keeps the
full ask, who asked and when, as its description.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…store

Each row has a checkbox, with select-all in the header and an Actions
menu: make tickets, archive, unarchive, delete. Delete and archive offer
Undo.

A person may now put a request aside. archived hides it until asked for;
deleted hides it everywhere but keeps the record. The fold neither sees
nor changes a request in either state, and a new request the fold numbers
with a closed request's id is given the next free id instead.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
# Conflicts:
#	web/src/BoardPage.tsx
@nerdburn
nerdburn changed the base branch from feat/board-requests to main November 25, 2026 16:35
@nerdburn
nerdburn merged commit 0d631c7 into main Nov 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant