Public: anyone can read this; the crew can change it.
An overdue date on This week says when it was due and how late it is, so the agent knows what to chase first #211
Closed 27d 0h ago
Every overdue row on the clock's This week card and on /week now says when it was due and how late it is, for example "due Fri, Nov 6 · 2 days late" ("1 day late" for one). Tests and lint-design pass. I did not run bun x tsc --noEmit: the repository has no tsconfig.json, so it only printed its help text.
-
Reviews
No review yet.
-
Checks
stopped closed without shipping deploy 357055c
-
History
- Overdue rows on This week and /week say when they were due and how late they are (#209) 357055c
- The clock's marker for a listing agreement that expires before closing says so in its own words, not "falls on or after closing" (#204) 3bd16dd
- An inspection or walkthrough less than two hours from another of the agent's appointments or closings on the same day is flagged, so the agent never double-books the day (#199) 46c08b5
- The sample deals carry inspection and walkthrough times and places, so the sales-meeting tour shows where the buyer has to be (#194) 6140d93
- This week shows each inspection and walkthrough's time and place, and orders a day's dates by time, so the agent sees where to be hour by hour (#193) a0b9465
- A listing deal carries the date the listing agreement expires, and the clock and the deal page flag a closing that would fall after it (#188) 06ec35c
- /healthz answers 503 naming the failed check when the database is missing a column the first paint reads, so a broken upgrade never looks healthy (#186) 8d3ee4f
- Two closings set less than two hours apart on the same day are flagged on This week and on both deals' pages, so the agent never books themselves into two title offices at once (#187) 5f71285
- An inspection or final walkthrough carries a time and a place, shown on the deal page, the client timeline, the calendar file and its reminder draft, so the buyer knows where to be and when (#185) 802dfbb
- The agent brings their deals back from a downloaded deal-clock file on the Profile page, so the download is a real way to move or recover their book (#181) ebad1ba
- A year after a deal closes, the agent gets a drafted "Happy home anniversary" note to their clients, approved like any reminder, so past clients hear from them when referrals come from (#177) aa80ca6
- A deal's page lists the reminders still to come, by day, party and date, so in the meeting the agent shows what the app will draft next and that nothing goes out unapproved (#176) 1f1c97f
- A deal opened as a cash offer has no appraisal or financing dates and asks for no lender, and says "Cash" on the clock and its page (#175) 17ae8be
- "Today" is the agent's day in their own time zone, set on the Profile, so at 6 pm Eastern the clock does not already show tomorrow (#171) 40db2b2
- The agent downloads all their deals as one file (dates, parties, notes, moves and every approved message) from the Profile page, so leaving the app never means losing a deal (#172) 27899a4
- The People page says when each person last got a message from the agent and about what, so "did I tell the lender?" is answered in one look (#129) 76e3313
- The README reads like a five-minute tour a realtor can follow, and the terminal, MCP and API details live in docs/TECHNICAL.md (#168) 82bf5b8
- The API adds a date to a deal, like the page and MCP do, and /openapi.json lists the common labels (HOA documents review, survey, repair request deadline…) on its body (#167) 1b8c4f9
- 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 (#165) 5e0e4f2
- The sample deals' finished dates read "Done on time" or "early", not "22 days late", so the demo shows an agent who keeps their deals on track (#160) 36112c0
2 earlier comments
Every overdue row on the clock's This week card and on /week now says when it was due and how late it is, for example "due Fri, Nov 6 · 2 days late" ("1 day late" for one). Tests and lint-design pass. I did not run bun x tsc --noEmit: the repository has no tsconfig.json, so it only printed its help text.
- The words:
lateNote(due, on)insrc/week.tsbuilds them fromspoken(due)anddaysBetween.onis passed in and it never reads the clock. It returns""for a date due today or later, so Today and the dated-day rows come out the same as before. - Where they show:
/week: the words are atimeline-ownerline, escaped.- The clock: they are a muted
<small>line in the row. No new component class.
- Ordering: I changed nothing.
thisWeekalready sorts by due date first, so overdue rows are oldest first, then by time. - Tests:
src/week.test.ts: the one-day form, the many-day form, and""for a date due today or later.src/week.page.test.ts: a booted/weekand/both show the first overdue row's due date and lateness, using the agent's day.- Fail on main:
lateNotedoesn't exist there, so both fail. I didn't run them against main.
- Not done: no contract cells changed, and nothing formats dates by hand, so #206's year handling will carry through
spoken.
I found nothing in this pull to fix, so I pushed nothing.
- Tests: the full suite passes locally, 656 tests across 80 files.
bun scripts/lint-design.tspasses. The deploy log you pasted stops athold.test.tswith no test failure in it. - Boot: when I start the app with
bun run src/server.ts,/healthzanswers 200 in about 5 ms and/answers 200. - Code path:
/healthzreturns 503 only whenfailedCheckinsrc/health.tsfinds a database check failing. My change touches onlysrc/week.ts,src/pages/week.ts,src/pages/clock.tsand two test files. It has no migration, no schema change and nothing in the health path. - Previews: I probed the #211 preview, the #208 preview and production from here. All three return
502, so the preview environment looks unhealthy rather than just this pull.
I think this is an environment problem with the preview, not with the code. A person should check the preview host and the #211 preview's data directory, then redeploy. If the 503 comes back, the response body names the failing check, which will say whether it's a database problem. A redeploy of the same commit should show whether the failure repeats.
Every overdue row on the clock's This week card and on
/weeknow says when it was due and how late it is, for example "due Fri, Nov 6 · 2 days late" ("1 day late" for one). Tests andlint-designpass. I did not runbun x tsc --noEmit: the repository has notsconfig.json, so it only printed its help text.lateNote(due, on)insrc/week.tsbuilds them fromspoken(due)anddaysBetween.onis passed in and it never reads the clock. It returns""for a date due today or later, so Today and the dated-day rows come out the same as before./week: the words are atimeline-ownerline, escaped.<small>line in the row. No new component class.thisWeekalready sorts by due date first, so overdue rows are oldest first, then by time.src/week.test.ts: the one-day form, the many-day form, and""for a date due today or later.src/week.page.test.ts: a booted/weekand/both show the first overdue row's due date and lateness, using the agent's day.lateNotedoesn't exist there, so both fail. I didn't run them against main.spoken.Closes #209