Skip to content

fix(alerts): quieter Inbox and a tidier Rules table - #2451

Merged
Makisuo merged 49 commits into
mainfrom
ux/alerts-hub-polish
Nov 10, 2026
Merged

Makisuo merged 49 commits into
mainfrom
ux/alerts-hub-polish

Merge remote-tracking branch 'origin/main' into ux/alerts-hub-polish

761f02c
Select commit
Loading
Failed to load commit list.
Maple Review Bot / Maple / review succeeded Nov 10, 2026 in 2m 39s

Confidence 10/10 · No issues found

🟢 Confidence 10/10 · safe to merge. Only real behavior change is NEAR_HEADROOM 20%→10% (both pages) and the __total__ scope fix, each pinned by new tests.
no findings · tests covered · risk medium

Polish for the alerting Inbox and Rules table: one headroomTone helper shared by both pages (with a breach tone), a fixed-width rules search, hidden lone "No tag" header, ungrouped incidents losing their "on ..." suffix, and a quieter Inbox toolbar. Safe to merge.

  • headroomTone + HEADROOM_FILL/HEADROOM_TEXT added, shared by the Rules meter and Inbox bars
  • NEAR_HEADROOM drops from 20% to 10% in overview-derive
  • isLoneUntagged hides the sole "No tag" group header in the rules table
  • inboxFilters returns nothing for an org with no anomaly incident in the window
What was checked
  • incidentGroup already returns null for anomaly and __total__ keys, so incidentScope loses nothing (incident-timeline.ts:137)
  • hasAnomalies reads data.incidents, which keeps open incidents, so the toggle cannot hide a non-empty anomaly view (overview.ts:76)
  • breached is filled by thresholdHeadroom for every RuleHeadroom, so both pages' tone functions agree

761f02c · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.