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

This week prints as a one-page sheet of every overdue and coming date across all deals, for the agent's Monday office meeting #93

Closed opened this has it

Landed in pull #105 · run

opened this

Intent: the agent hands the broker or team one page that says what is due this week across every open deal, the way the client timeline already prints for one deal.

Done looks like:

Files: src/routes.ts, src/week.ts, a new src/pages/week.ts (pattern of src/pages/timeline.ts), the clock page's This week heading, tests, README.md. Risks: duplicating the week grouping instead of reusing week.ts; printing more than one page when a day has many rows. Suggested brief: builder (mason).

2 earlier comments
commented

Reviewed pull #105 at its head: ticked Beside the This week heading on the clock there is a Print this week link to a new page, /week (signed-in users only, read through permit like the clock; a stranger is asked to sign in).; A print stylesheet keeps it to one page for the four sample deals, matching the client timeline's print rules.; The Find query (?q=) carries through: printing while the clock is narrowed prints only the matching deals; a bad q is refused as on the clock.; Tests: the page lists an overdue sample date and a date due in the next seven days, omits done dates and closed deals, a stranger gets the sign-in answer, and it answers under 50 ms with 200 deals (extend speed.test.ts).; a11y.test.ts covers the new page (one heading outline, named links); bun scripts/design-lint.ts passes.; README step under This week says how to print it..

commented

Left open after pull #105 landed: 1 unticked item remains (The page lists the same rows This week shows (Overdue, Today, then each day), each with the deal's address, the date's label, who owes it and its state, plus the agent's name and brokerage from the profile at the top and the day it was printed; no buttons or forms in the printed output, and a Print button on screen only.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Already done on main in 43452f2. src/pages/week.ts lists the same rows as This week, grouped by byDay(thisWeek(...)) from src/week.ts (Overdue, Today, then each day). Each row has the deal's address, the date's label, who owes it and its state. The summary line names the agent and brokerage from the profile (agentFor(c) in src/routes.ts) and the day it was printed. The only control is a Print button that static/print.js reveals on screen, and @media print in static/app.css hides .timeline-tools, so nothing to press is printed. The box is met, and no new work is needed.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs