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

A buyer touring several homes can have more than one showing booked: each is listed on their page and the desk, and each gets its own day-before confirmation and morning-after follow-up #106

shipped production is serving it opened this has it

Landed in pull #107 · run

opened this

For: a buyer rarely sees just one house. Today a lead holds one showing at most (src/db.ts: showing, "one at most"), so booking a second one replaces or refuses the first.

Done looks like:

Files likely: src/db.ts, src/showings.ts, src/routes.ts, src/pages/lead.ts, src/pages/desk.ts, src/report.ts, src/mcp.ts, src/terminal.ts, src/openapi.ts, tests beside them. Risk: the migration and every reader of the single showing; grep for showing and change each reader in this one pull.

commented

Reviewed pull #107 at its head: ticked A lead can hold several upcoming showings (different addresses and/or times). The lead's page lists them in time order, each with its own Cancel; the desk's upcoming-showings list shows every one, each linked to its lead.; Each showing gets its own "see you tomorrow" confirmation draft the day before and its own "how did you like it?" draft the morning after, naming its address and time in the agent's time zone; cancelling one withdraws only its drafts.; Follow-ups wait until the day after the last upcoming showing; cancelling the last one puts them back as cancelling does today.; Booking two showings for the same lead at the same time is refused with a clear sentence; every input is validated as today, permit and same-origin checks are unchanged.; Existing data migrates in place: a lead's one existing showing is kept. The API (openapi), the MCP and the terminal see a list of showings where they saw one; the lead's printable brief and the week report count every showing.; Tests: two showings on one lead each produce their own reminders; cancelling one leaves the other and its drafts; follow-ups wait for the last; the migration keeps an existing showing..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs