feat(statistics-deck): Month view (Room, Desk, Laptop) #136
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#136
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 Month view in its three profiles. The shell (#133) provides the frame, top bar, picker, keyboard and marker helpers. The view is about the month only; multi-month and yearly trends are out of scope.
Content (RFC §4)
KPIs, most important first:
Graphs, most important first:
Data
GET /api/statistics/periods/month/{first}/summary: the KPIs.previous_month_daily_averageis always present, for the month view.GET /api/statistics/timeseries/daily: for the month and for the previous month. It feeds the day-by-day graph, the running totals, the peak per day (peak_people_inside) and the average by weekday.GET /api/statistics/periods/month/{first}/entrances: entrance share, with its previous-month comparison.Month-view marker
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
Depends on #133 and #129. Refs #80.
🤖 Generated with Claude Code
gabogg referenced this issue2026-09-26 23:05:08 +00:00
gabogg referenced this issue2026-09-27 09:48:41 +00:00