Status: ready Priority: 2 Size: M Arch: plans Phase: implement Design ref: design.md section 7, Plans at four scales (The page); The timetable; The plan panel; docs/plans/four-scales/README.md, 3.7 and 3.9 (Replaced) Touches: new sim/strip; sim/timetable; sim/agenda; sim/estimate; new tests/strip.js; tests/timetable.js; tests/agenda.js Goal: Like is shown alike: every body’s plan, at every horizon, is read through one function Acceptance criteria:
Sim.strip(st, body, zoom, looker) (a new module sim/strip, a view computed when asked, nothing stored): for a pawn, a household’s members or a village’s households, rows of hours by part (owed with its levier, by right or by agreement for help and hire, levied, demanded, given, kept, taken); past days exact from Sim.hours; today’s list as ranges by the looker’s estimate; the days ahead with duties, named days and dated steps from their from to their by; the season’s targets with hours left against the labour budget; the year’s routines, levies and each member’s levy by season.Sim.timetable and Sim.agenda kept as thin facades over the strip until VB-1765 removes them with the page’s drawings; the agenda’s own-hands estimate gives way to sim/estimate’s team-aware one (the review of 25 Nov, the divergent estimate); the cases of tests/timetable.js and tests/agenda.js move to tests/strip.js.npm run verify passes; the simulation’s behaviour is unchanged (node tools/same.js --base REF prints same: a view only).
Notes: