From 338711181bd33c148f504a7fdac797c5dbc5299c Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Sat, 9 May 2026 06:46:13 -0400 Subject: [PATCH] feat: alerts host-filter field with URL query param and notify URL - Add regex filter input to the Alerts dashboard that filters displayed hosts on every keystroke; invalid regex turns the border red - Initialise the filter from ?filter= in the URL query string - Change _build_url() to produce /alerts?filter= so notification links (Pushover, email, Matrix, etc.) land on the alerts page pre-filtered to the alerting host Co-Authored-By: Claude Sonnet 4.6 --- hbd/server/http.py | 4 +-- hbd/server/notify.py | 2 +- hbd/server/templates/alerts.html | 52 +++++++++++++++++++++++++++++++- 3 files changed, 54 insertions(+), 4 deletions(-) diff --git a/hbd/server/http.py b/hbd/server/http.py index b534ee7..d6674ce 100644 --- a/hbd/server/http.py +++ b/hbd/server/http.py @@ -641,7 +641,7 @@ async def start( Heartbeat — Login