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

The agent can clear the sample deals in one confirmed step and start with their own book #283

shipped production is serving it opened this has it

Landed in pull #288 · run

opened this

Intent: after the sales meeting the realtor wants their real deals, not made-up ones.

Done:

Files: src/sample.ts, src/actions.ts, src/routes.ts, src/pages/profile.ts, src/pages/clock.ts, README.md, tests. Risks: deleting a real deal by mistake; the sample marker must be exact. Do not touch contract.json. Suits: a builder who knows sample.ts and db.ts.

commented

Reviewed pull #288 at its head: ticked A "Clear sample deals" button on Profile (POST, same-origin checked, a confirm page like the existing delete confirmation) deletes only deals still marked as samples and their reminders and messages; deals the agent added or edited stay. Goes through permit with the existing deal delete cell; no cell loosened.; After clearing, the clock shows a plain empty state that says how to add the first deal; the Tour link and sample-only copy do not break.; Boot does not re-seed samples after the agent has cleared them (a stored flag under FORGE_APP_DATA).; Tests fail without each of: only samples removed, edited deal kept, no re-seed on reboot, empty state renders. README names it in a short closing section. design-lint, a11y, bun test pass..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs