hyperhive/hive-c0re/assets
müde 237b215c55 dashboard: browser notifications for operator-bound events
three signals fire OS notifications:
- new approval lands in the queue (per id, via /api/state delta)
- new ask_operator question queued (per id)
- broker message sent to operator (live via SSE)

first /api/state render after page load seeds the 'seen' sets
without firing — only items that arrive while the page is open
count. controls in a row under the banner: 🔔 enable
notifications (calls requestPermission, hides on grant), 🔕 mute /
🔔 unmute toggle (localStorage-backed so operator can silence
without revoking the permission), inline status text when blocked
or unsupported.

notification tag='hyperhive' collapses rapid bursts; onclick
focuses the dashboard tab. requires secure context (HTTPS or
localhost) — on other origins the API is unavailable and the
controls hide themselves.

todo: entry dropped.
2026-05-15 21:10:20 +02:00
..
app.js dashboard: browser notifications for operator-bound events 2026-05-15 21:10:20 +02:00
dashboard.css dashboard: browser notifications for operator-bound events 2026-05-15 21:10:20 +02:00
index.html dashboard: browser notifications for operator-bound events 2026-05-15 21:10:20 +02:00