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

The terminal's "on you" screen leads with the week's asks as four numbers: raised, acted on, dismissed, went by themselves #8055

shipped production is serving it opened this has it
opened this

Intent: noise shown as a number in the terminal too. The board's asksStrip (src/web/pages/board.ts) tells the owner how many asks they acted on and how many they waved away; the terminal's inbox (src/tui/screens/yours.ts) does not.

Done looks like:

  • [ ] ASKS_WINDOW_DAYS and one words function, e.g. asksMeasureWords(m) → "Asks, 7 days: 4 raised · 2 acted on · 1 dismissed · 1 went by themselves", move out of board.ts into src/core/ask_ledger.ts (or a small src/actions/asks_words.ts). The board's strip uses them and renders exactly as before.
  • [ ] The head of src/tui/screens/yours.ts shows that line, muted, from askMeasure(db, user.id, since). When all four numbers are 0 the line is absent, as on the board, and the layout below does not move.
  • [ ] Signed out or an agent: no line.
  • [ ] test/tui-yours-asks.test.ts: with ask-ledger rows seeded (acted, dismissed, expired), the screen shows the four numbers matching askMeasure, and an empty ledger shows no line. The existing board test for #asks-measure still passes.

Files: src/core/ask_ledger.ts, src/web/pages/board.ts, src/tui/screens/yours.ts, test/tui-yours-asks.test.ts. Risks: only rows that are the viewer's own count, so read with their user id and never another's.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs