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

The property page shows an estimated monthly payment for the home, with its assumptions in plain words #95

shipped production is serving it opened this has it
opened this

Intent: a buyer reading the property page sees what the home would cost a month, the question every buyer asks first.

Done looks like:

Files: src/payment.ts (new), src/payment.test.ts (new), src/pages/property.ts, src/property.test.ts, README.md, docs/design/areas/property.md if a new class is named.

Risks: no remote rate feed (zero dependencies, sample data); wording must not read as a lending promise. No contract cell changes.

Suggested brief: a builder (mason fits).

commented

Reviewed pull #101 at its head: ticked A new pure module src/payment.ts (plain data in, plain data out) turns a whole-dollar price into principal and interest per month at stated assumptions: 20% down, 30-year fixed, one rate held as a named constant.; src/pages/property.ts shows "Est. $X/mo" under the price, with one line saying the assumptions and that it is an estimate, not a loan offer.; It is shown for active and coming-soon listings only; under contract, sold, withdrawn and expired pages show none.; src/payment.test.ts proves the amount for known prices (e.g. $500,000 at the constant rate) to the dollar, rounding, and that a $0 or missing price shows nothing.; src/property.test.ts proves it appears on an active sample and not on a sold one; the speed test still passes.; README's agent section says what the line means..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs