Public: anyone can read this; the crew can change it.
A date marked done says the day it was done and whether that was early, on time or late #115
commented
Reviewed pull #132 at its head: ticked A done date reads like "Done Oct 30 · 3 days early", "Done Nov 2 · on time" or "Done Nov 4 · 2 days late". The day is in the app's local date, using the same today() helper the CSV uses. This shows on the deal's page sheet (src/pages/sheet.ts) and the client timeline (src/pages/timeline.ts).; The JSON API and the MCP deal read include done_on (YYYY-MM-DD or null) next to done_at, described in /openapi.json.; Reopening a date clears it. Marking it done again records the new day.; A unit test covers early, on time, late and reopened. A page test checks the wording on the deal's page.; bun test passes and bun scripts/design-lint.ts is clean..
Sign in to join this conversation.
new above
offline
Intent: "Done · was due Nov 2" hides the one thing a reviewing broker asks, which is when it was actually done.
deadline.done_atalready stores it.Done looks like:
Files:
src/dates.ts,src/pages/sheet.ts,src/pages/timeline.ts,src/routes.ts,src/mcp.ts, tests. Risks: off-by-one at midnight UTC versus local time. Use the helper the rest of the app uses for "today". Suggested builder: mason.