feat(statistics-deck): Week view (Room, Desk, Laptop) #135
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral#135
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blocked by: #133
Part of the statistics deck UI (accepted RFC, #80). This issue is the Week view in its three profiles. The shell (#133) provides the frame, top bar, picker, keyboard and marker helpers.
Content (RFC §4)
KPIs, most important first:
Graphs, most important first:
Data
GET /api/statistics/periods/week/{monday}/summary: the KPIs.GET /api/statistics/timeseries/daily: once for the week, once for the previous week and once for the same ISO week last year. The day-by-day graph and dwell by day come from here.bucket=hourfeeds the heatmap. Its per-hourgap_estimatedmarks the cells.GET /api/statistics/periods/week/{monday}/entrances: entrance share.The week label is the date range, with the ISO week number shown small.
Week-view marker
excluded,trusted,gap_estimatedandhas_data, via the shell helper).Profiles
Room shows 6 KPIs and 4–5 graphs, Desk 4 KPIs and 3 graphs, Laptop 3 KPIs and 1 graph. Each smaller profile keeps the top of the ranking below (KPIs and graphs are listed most important first). Each profile is its own layout, not a crop (RFC §3.3), and follows the zero-scroll rule and row splits from the shell.
Rules that apply to every figure
reason, never 0%. Partial periods compare by daily average only when the route returnsbasis: DAILY_AVERAGE.Acceptance
PARTIAL_PERIOD.Depends on #133 and #129. Refs #80.
🤖 Generated with Claude Code
gabogg referenced this issue2026-09-27 09:48:41 +00:00