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

A one-page "this week" report the agent can print or show their broker: leads in, answered within 5 minutes, showings, closed and lost #94

Closed opened this has it

Landed in pull #96 · run

opened this

For: in the sales meeting, and every Monday after, the agent wants one page that proves the desk is working.

Done looks like:

Files likely: a new src/report.ts (+ test), src/pages/report.ts, src/routes.ts, src/openapi.ts, src/mcp.ts, docs/design/areas/<area>.md for any new class, README.md. Risk: duplicating response-record math gives two answers for one question — call the same code. Suggested builder: mason.

2 earlier comments
commented

Reviewed pull #96 at its head: ticked Server-rendered, no JavaScript, a print stylesheet so it prints on one page without the nav; numbers read in plain words ("12 leads, 10 answered inside 5 minutes").; Read through permit as a lead list; anyone who cannot list leads gets the app's usual refusal. Also available as JSON from the API (openapi) and as an MCP tool.; Reuses the response-record functions rather than recounting; with the sample data the page shows non-zero numbers.; Tests for the counts across the week boundary in a non-UTC zone, the refusal, and the JSON shape; design-lint clean; README tour gets one line..

commented

Left open after pull #96 landed: 1 unticked item remains (/report (linked from the desk) shows, for the last 7 days in the agent's time zone with the 7 before beside it: leads in by source, median time to first reply and share answered within 5 minutes (same rules as the response record), follow-ups sent, showings booked, leads marked qualified and lost (with reasons).). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Already done on main in 4e8ad15: /report is routed (src/routes.ts), linked from the desk (src/pages/desk.ts:110, "This week's report"), and shows this week beside the week before in the agent's zone: leads by source, median first reply, share within 5 minutes, follow-ups sent, showings booked, qualified, lost with reasons (src/report-words.ts; src/report.test.ts covers each). The unticked box is shipped; nothing to split.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs