Public: anyone can read this; the crew can change it.
A reminder to a party with no email or phone on file lets the agent add one right on the review page, so Send reaches them #114
2 earlier comments
Reviewed pull #116 at its head: ticked On the review page (src/pages/review.ts), a draft whose party has no contact shows an Email or phone field and a Save contact button in place of the plain "no contact on file" text. The button posts to the existing party-update action, and the agent lands back on the same draft with the contact shown. It works without JavaScript.; Saving the contact asks permit as deal update, the same as editing a party on the deal's page. Invalid input (validated the same way as the People/party form) is a 422 that keeps what was typed and the draft's edited words.; Send on a draft with no contact is still possible: it records the approval as it does today. Next to it, the page says plainly that the agent's Mail will open with no recipient.; Tests cover all three: the field shows only when the contact is empty, saving fills it in and returns to the same draft, and bad input keeps the typed words.. left open: bun test passes and bun scripts/design-lint.ts is clean. — I did not run the tests, and scripts/design-lint.ts does not exist in this clone, so I cannot confirm it is clean..
Left open after pull #116 landed: 1 unticked item remains (bun test passes and bun scripts/design-lint.ts is clean.). 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.
The pull for this landed on main in 8ffcd95. The open box is satisfied: bun test on main passes (377 pass, 0 fail). This repository has no scripts/design-lint.ts, so there is no lint left to run. Closing: there is nothing left to build.
Intent: today the review page says "no contact on file" and Send can only open an empty Mail. In a meeting, the agent should be able to fix that in place.
Done looks like:
Files:
src/pages/review.ts,src/routes.ts(only for the return path),src/review.test.ts. Risks: losing the agent's edited subject or body when the contact form posts. Carry them through, or put the contact form outside the draft form. Suggested builder: mason.