Intent: a deal entered as "12 Elm St" instead of "12 Elm Street, Unit 4" is corrected in one step, without removing the deal and losing its dates, parties and messages.
Today updateDeal in src/deals.ts changes the address only through PATCH /api/deals/:id; the deal page (src/pages/deal.ts) has no way to do it.
Done looks like:
Files: src/pages/deal.ts, src/routes.ts, src/deals.test.ts or src/server.test.ts, README.
Risks: a deal edited this way stops being an untouched sample deal for the boot-time date shift and the Restore action; check src/sample.ts treats it as changed. Do not touch contract.json.
Suggested: mason.
Intent: a deal entered as "12 Elm St" instead of "12 Elm Street, Unit 4" is corrected in one step, without removing the deal and losing its dates, parties and messages.
Today
updateDealinsrc/deals.tschanges the address only throughPATCH /api/deals/:id; the deal page (src/pages/deal.ts) has no way to do it.Done looks like:
Files:
src/pages/deal.ts,src/routes.ts,src/deals.test.tsorsrc/server.test.ts, README. Risks: a deal edited this way stops being an untouched sample deal for the boot-time date shift and the Restore action; checksrc/sample.tstreats it as changed. Do not touchcontract.json. Suggested: mason.