Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: a header bell with the count of firing alerts opens a list of them and a link to Grafana

This commit is contained in:
iris 2026-11-21 15:01:16 +01:00
commit 70e5de5571

View file

@ -11,6 +11,12 @@ The signed-in user's avatar sits at the right end of the header on every page.
It opens a menu with the user's name and links to authelia's settings and
sign-out pages; the hive dashboard has the same menu.
While an alert is firing in Grafana, a bell with the number of firing alerts
sits left of the links button on every page. It opens a list of them, each with
its summary and how long it has been firing, and a link to Grafana's alert list.
The bell polls `GET /api/alerts` every 30 seconds and disappears while nothing
fires or the poll fails.
Every dropdown (a form's select, the refresh interval, the history window) opens a
list in the swarm UI's own theme, not the browser's, and works the same in every
current browser. Open it with a press, or with the arrow keys, **Enter** or