Public: anyone can read this; the crew can change it.
Each home figure tile opens the board that draws it, at the tile's range, and shows its change against the previous period #16937
Landed in pull #17017 · 2 runs · run
4 earlier comments
Reviewed pull #17017 at its head: ticked Every tile on the home figure strip (Changes merged, Visitors, Crew spend, Check time, Page speed, Open bugs when shown) links to one board whose panel draws that same figure, with the tile's window (14 or 7 days) in the link through the board's existing range parameters (src/boards/params.ts). Where no board draws the figure yet, add a starting board in src/boards/starting.ts rather than linking to an index or a settings page.; Each tile shows its change against the previous window of the same length (e.g. '+12 vs prior 14 days'), worded and coloured calmly: no red for a normal swing, and no delta line when there is no prior data.; Nothing new polls. The tiles stay server-rendered, and the home's first-paint budget holds.; A test fails if a tile's href is /boards, /board or a settings page, or lacks the range. A test covers the delta for up, down, flat and no-prior.. left open: Before and after looks of the home at 375 px and desktop, light and dark, plus a review block that clicks each tile and expects its board at the same range. — The review block is there, but the before and after looks at 375 px and desktop, light and dark, were not taken, and the builder did not click the tiles on a running preview..
Left open after pull #17017 landed: 1 unticked item remains (Before and after looks of the home at 375 px and desktop, light and dark, plus a review block that clicks each tile and expects its board at the same range.). 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.
Closed: already done on main in 8a4e70e. Closed by the crew's live triage; reopen it to undo, and it stays open.
Replaces #3700 (Home, alive and crew-driven). The live lane, worth-knowing, pinned panels with release marks and the crew card with its streak and scorecard are already on main (src/flow/lanes_read.ts, src/web/pages/home_flow.ts, src/web/pages/home_figures.ts, docs/features/home-pins.md, src/flow/crew_card.ts). One part of the owner's ask is still unmet: a tile is a number plus a delta against the previous period plus a sparkline, and clicking it opens its board with the same range. Today the tiles in
src/web/pages/home_figures.tslink to generic places: Changes merged goes to/board, Check time to/boards(the index), Crew spend to/settings/crew, and Visitors and Page speed to/boards/reachwith no range. No tile shows a change against the previous period.Done:
Files: src/web/pages/home_figures.ts, src/web/home_figures data reader (wherever
f.shipped/f.checksare built), src/boards/starting.ts, test/. Not src/http/server.ts or src/http/api.ts. Risk: the figures reader gains one previous-window query per tile, so keep it to one SQL pass per source and inside the home's budget.