Alert activity / statistics view #83
Labels
No labels
area:ai
area:ci-cd
area:notifications
area:observability
area:public-pages
backlog
bug
duplicate
enhancement
help wanted
invalid
question
type:decision
type:feature
type:infra
type:maintenance
type:security
v1.0.1
v1.1.0
v1.2.0
v1.3.0
v2.0.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/WeatherBot#83
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?
A cheap slice of what v2.0.0's Historical Explorer will eventually do: counts by location, event type, and month, straight off the
sent_alertsrows already retained. Delivers "how much weather does this location get" without the full explorer build. Missed because history was deferred wholesale to v2.0.0. Effort S, value Medium — flag against #22 so it's a deliberate down-payment, not a competing implementation.Filed from the 2026-07-17 codebase audit (
docs/.internal/report-2026-07-17.md), finding I-13.Done in #114 (merged).
GET /stats("Activity" nav) shows alert counts off the retainedsent_alertsdashboard records: headline totals plus breakdowns by location, event type (top 15 + "other"), and month — restricted to locations the user can see, counting onlychannel_id IS NULLrows (no per-channel double counting). Month grouping is done in Python for dialect portability. Self-containedstats.html(simple bars, no chart library), graceful empty state, readonly-viewable. Framed in-code as a deliberate down-payment on the v2.0.0 Explorer (#22), not a competing build. 6 tests.