follow-up(statistics-deck): P3 cleanups from PR #150 review #153
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#153
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?
Follow-ups from the second-pass review of #150 (the deck shell's support for views). Both items are P3, and each names its fix.
periods.jsperiodEnd/periodFordon't validate alignment the way the server does (_week_period_end/_month_period_endraise).ctx.periodFor('2026-09-15')on the Month tab silently builds a 16-day period. Throw, or snap to the period start, for a misaligned week or month start, and test it.ctx.periodFor/ctx.previousPeriodreadthis.granularityat call time, whilectx.periodis fixed when the view renders. Useperiod.granularity, captured with the ctx, so a stale ctx after a tab switch can't mix granularities.(C2-1 and C2-2 were resolved on the PR: the description now documents the API and the adoption checklist. S2-1 was fixed on the PR in
ef77fc6.)