Repository navigation
fix(alerts): quieter Inbox and a tidier Rules table - #2451
Merged
Merged
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_TEXTadded, shared by the Rules meter and Inbox barsNEAR_HEADROOMdrops from 20% to 10% inoverview-deriveisLoneUntaggedhides the sole "No tag" group header in the rules tableinboxFiltersreturns nothing for an org with no anomaly incident in the window
What was checked
incidentGroupalready returns null for anomaly and__total__keys, soincidentScopeloses nothing (incident-timeline.ts:137)hasAnomaliesreadsdata.incidents, which keeps open incidents, so the toggle cannot hide a non-empty anomaly view (overview.ts:76)breachedis filled bythresholdHeadroomfor everyRuleHeadroom, so both pages' tone functions agree
761f02c · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading