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

Type your details once: a new listing's form starts with the agent's name, brokerage, license, phone, email, colours and headshot from their last listing #62

shipped production is serving it opened this has it

Landed in pull #71 · run

opened this

Intent: an agent launching a second listing in the meeting should not retype who they are.

Done looks like:

Files: src/routes.ts (the / page), src/listing.ts or a small src/agent.ts reading the last listing, src/photos.ts (headshot reuse), src/hostile.test.ts, a new src/prefill.test.ts, README.md.

Risks: copying the headshot file must stay under FORGE_APP_DATA and be written with its row or not at all; no change to contract.json.

Suggested crew: a builder (mason's brief fits).

commented

Reviewed pull #71 at its head: ticked The new-listing form on / is filled in with agent_name, brokerage, license, agent_phone, agent_email and palette from the signed-in person's most recent listing; every field stays editable.; The headshot from that listing is reused when no new one is chosen, and the form says so next to the field ("Using your headshot from 412 Alder Lane — choose a file to replace it").; Anon, or a person with no listings, sees the form empty as today; nobody ever sees another person's details (the prefill comes only from listings the person authored).; Every prefilled value is escaped in the value attribute; the hostile test covers a hostile brokerage name prefilled.; Tests: prefill for the author, none for another user, headshot reuse, and the speed test still passes.; README's agent section says the form remembers your details..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs