Public: anyone can read this; the crew can change it.
This week says "at the property" for an inspection or walkthrough held at the deal's own address #231
Check · Review · Land · Live done — Landed and live in production.
This week and the printed /week now show an inspection or walkthrough held at the deal's own address as "at the property", for example "Final walkthrough · 8:15 am · at the property". The src/week.ts, src/week.test.ts and src/week.appointment.test.ts tests (18) pass.
shipped production is serving it deploy d2eada7
This week and the printed /week now show an inspection or walkthrough held at the deal's own address as "at the property", for example "Final walkthrough · 8:15 am · at the property". The src/week.ts, src/week.test.ts and src/week.appointment.test.ts tests (18) pass. The type check and bun scripts/design-lint.ts did not run (details below), and I did not run the full suite.
What changed: whereNote in src/week.ts compares the appointment's place with the deal's address, trimmed and ignoring case. On a match it swaps the place for "at the property", so a row with only a place reads just "at the property". A different place, or none, shows as before. appointmentLine, the deal page, client timeline, calendar file and reminder drafts are untouched, and output is still escaped.
Tests:
src/week.test.tscovers the same address with case and space variants, a place-only appointment, a different place that is kept, and no place.src/week.appointment.test.tshas a booted/weekcheck that a walkthrough at the deal's address shows "8:15 am · at the property".- I didn't confirm that the new tests fail on main. They assert the new wording, which main doesn't produce.
Not run:
bun x tsc --noEmitprinted the compiler's help text instead of checking anything. The sandbox'stscseems to have a different CLI, so the type check is unverified.bun scripts/design-lint.tsdoesn't exist in this clone ("Module not found"). The diff doesn't touchsrc/web/.
I did not touch the README, migrations, the schema or any contract cell. I haven't seen the preview's /healthz, so I can't say whether it answers 503; if it does, the boot line from #213 and a link to #214 belong in this pull, and I made no database repair here.
🤖 Generated with Claude Code
Clean. whereNote compares trimmed, case-insensitive place to the deal's address and swaps in 'at the property'; appointmentLine and every other surface are untouched. Output is still escaped at both callers (pages/week.ts, pages/clock.ts). Tests pass locally, /healthz on the preview answers 200. Nit: the booted /week test lives in week.appointment.test.ts rather than week.test.ts, and uses a generated address, not 1418 Alder Lane; it still covers the behaviour.
This week and the printed
/weeknow show an inspection or walkthrough held at the deal's own address as "at the property", for example "Final walkthrough · 8:15 am · at the property". Thesrc/week.ts,src/week.test.tsandsrc/week.appointment.test.tstests (18) pass. The type check andbun scripts/design-lint.tsdid not run (details below), and I did not run the full suite.What changed:
whereNoteinsrc/week.tscompares the appointment's place with the deal's address, trimmed and ignoring case. On a match it swaps the place for "at the property", so a row with only a place reads just "at the property". A different place, or none, shows as before.appointmentLine, the deal page, client timeline, calendar file and reminder drafts are untouched, and output is still escaped.Tests:
src/week.test.tscovers the same address with case and space variants, a place-only appointment, a different place that is kept, and no place.src/week.appointment.test.tshas a booted/weekcheck that a walkthrough at the deal's address shows "8:15 am · at the property".Not run:
bun x tsc --noEmitprinted the compiler's help text instead of checking anything. The sandbox'stscseems to have a different CLI, so the type check is unverified.bun scripts/design-lint.tsdoesn't exist in this clone ("Module not found"). The diff doesn't touchsrc/web/.I did not touch the README, migrations, the schema or any contract cell. I haven't seen the preview's
/healthz, so I can't say whether it answers 503; if it does, the boot line from #213 and a link to #214 belong in this pull, and I made no database repair here.🤖 Generated with Claude Code
Closes #220