follow-up(statistics-deck): P3 cleanups from the Day/Week/Month view reviews #155
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#155
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?
Second-pass P3 follow-ups from the statistics-deck view PRs. Each item names its fix, so the design is settled.
Month (#147)
showErrorcallschart.destroy()without the try/catch used in cleanup, so a throwing destroy inside.catchgives an unhandled rejection. Wrap it in the same try/catch.showErrorclears each graph's body but not its note. Cleargraph.notetoo.Week (#148)
ctx.locale || deckLocale(tr.lang)fallback. MakeWEEK_LAYOUTSandweekRequestsagree on unknown profiles.Day (#149)
chart(): drop thectx.Chart && ctx.createChart ? … : nullworkaround. Callctx.createChartand let the cell's try/catch show the error.fillGraphthrows, clear the header's legend and notes and removesd-day-greyed.Shell-level items (the
withDatascope, deep tick merge indeckChartOptions) are tracked in the consolidation issue.