feat(ui): move the calibration tools into a Calibration section of the configuration tab #130
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#130
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?
Decided with the maintainer on 2026-09-25 (recorded on #80): when the statistics deck replaces the admin
analyticstab, the calibration tools on that tab move into the configuration tab (occupancy-admin, where the schedules, exceptions and occupancy settings already are), in a collapsible Calibration section.What moves
Everything calibration-related on today's
analyticstab (content-analytics):/api/analytics/calibration/status,/api/occupancy/multiplier);/api/analytics/calibration/history);POST /api/analytics/calibration/trust);POST /api/analytics/calibration/manual-adjust);POST /api/analytics/calibration/retroactive-audit) and camera diagnostics (/api/analytics/calibration/camera-diagnostics).The occupancy confidence margin stays available here (the calibration inspector), not on the deck (decided 2026-09-26).
What does not move
The three operational charts on the same tab are dropped, not moved (decided 2026-09-25): flow curves and net flow, estimated occupancy with its confidence margin, and the multi-day comparison. The deck covers their content. Retiring their routes is a separate issue.
Timing
Do this in the deck UI work, in the same change that swaps the admin
analyticstab for the deck (per the #123 decision, the analytics tab stays until the deck is real). Admin only: the section keeps today'srequire_adminroutes and theadmin-onlyUI gating.Acceptance
docs/standards/ui-design-guidelines.md).calibration_desk.jsand its frontend tests keep passing; nothing on the moved tools depends oncontent-analytics.analyticstab.analyticsleavesROLE_ALLOWED_DECKS.adminand#deck-btn-analyticsis gone, and F5 opens the deck (KEY_DECK_MAP.F5 = 'statistics'). No admin tool becomes unreachable.Refs #80, #121.
🤖 Generated with Claude Code
Heads-up from #144 (the deck shell for #133): as #133 specifies, the admin analytics → deck swap belongs with this issue, so no admin tool becomes unreachable. Once the calibration tools have moved here:
analyticsfromROLE_ALLOWED_DECKS.adminand hide#deck-btn-analyticsinapp/static/js/app.js;statisticsinKEY_DECK_MAP.The deck itself already works for admins on F8.
PR opened: #146 (branch: feat/calibration-config-tab)