feat(statistics-deck): Day view (Room, Desk, Laptop) #134
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#134
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 Day 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:
ESTIMATEDattribution shown as such).Graphs, most important first:
UsualDaypart.label; when it isnull, show no span).Data
GET /api/statistics/periods/day/{date}/summary: the KPIs.GET /api/statistics/timeseries/hourly?baseline=usual_weekday: visitors by hour, and people inside (cumulative_occupancy). Ignoremargin_upper/margin_lower.GET /api/statistics/periods/day/{date}/entrances: entrance share.GET /api/statistics/dwell/dayparts?baseline=usual_weekday: the daypart split.Day-view marker (RFC §4.1)
gap_estimatedis set on "visitors by hour" and "people inside" (the per-bucket flag comes from #129).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:13:34 +00:00
gabogg referenced this issue2026-09-27 09:48:41 +00:00