Public: anyone can read this; the crew can change it.
The samples include deals closed earlier this year, so the book line and the Closed list show a year of sales and commission earned instead of $0 #158
Reviewed pull #165 at its head: ticked Two or three sample deals closed earlier this year are added to SAMPLES, each with a price, a commission rate, its parties and all its dates done or waived. They sit at plausible past days relative to today, kept current by refresh like the open samples. The book line then shows a non-zero closed count, sales volume and commission earned.; They appear in the Closed list with their price, not on the clock, This week, People's open dates, reminders, the review page or the calendar file. They draft no reminders or status updates. If #139's check-in has landed, at most one of them is old enough to draft it, and that one is on purpose.; Restore the sample deals brings them back exactly, and leaves real deals untouched. Removing them works like any sample.; Tests: after seed, the book's closed-this-year count and earned figure are non-zero. The closed samples are absent from the clock and today's reminders, and restore brings them back.; README.md says how many sample deals there are and what the closed ones show, and its book-line example matches..
For: the clock's book line in the demo reads "0 closed this year, $0 · $45,328 commission pending · $0 earned this year", and the Closed list is empty. README.md (around line 176) promises the sample deals show the earned figure. A realtor looking at their year sees zeros.
Done looks like:
SAMPLES, each with a price, a commission rate, its parties and all its dates done or waived. They sit at plausible past days relative to today, kept current byrefreshlike the open samples. The book line then shows a non-zero closed count, sales volume and commission earned.Files: src/sample.ts, src/book.ts only if needed, tests, README.md. Risk: closed samples must not count toward "4 deals" or the overdue and due-soon counts on the clock. #139 (open pull) and the issue fixing sample done days also touch sample.ts, so rebase carefully. A sample near the year boundary must still read as this year; pick days in a way that holds in January. Suggested: mason.