Improve Cluster Dashboard Timeline #1

Merged
tu merged 6 commits from feature/check-whether-works-as-pwa into master 2026-04-19 13:08:57 +00:00
6 Commits
Author SHA1 Message Date
tu 14d3cc5434 Merge branch 'master' of https://git.uesome.de/tanztee/hyprcrd into feature/check-whether-works-as-pwa 2026-04-19 15:02:23 +02:00
tuandClaude Opus 4.7 985cd39b2a v2.0.16 — oumta-dashboard: green dot for rollout-only clusters
Clusters with no state-transition events (e.g. a clean rollout that
didn't cause a degradation) now show a green dot instead of blue.
Rationale: absence of a transition means the workload stayed in its
existing state — the rollout went through unscathed, which is the
healthy outcome a reader is scanning for.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 14:40:22 +02:00
tuandClaude Opus 4.7 bd5a462a1e v2.0.15 — oumta-dashboard: dot color follows cluster outcome
The per-cluster dot now reflects how the workload ended up after the
cluster's events, not the worst thing that happened inside it: if the
most recent state transition in the cluster was "-> healthy", the dot
turns green even when the cluster contains earlier degraded/warning
events. Falls back to the existing dominantSev logic for clusters
without any state transition (e.g. rollout-only clusters).

Matches the reality that a rollout which briefly degrades and then
recovers is a normal, healthy outcome — not a "warning" forever.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 14:25:38 +02:00
tu 0bf7137428 Merge branch 'master' of https://git.uesome.de/tanztee/hyprcrd into feature/check-whether-works-as-pwa 2026-04-19 14:23:54 +02:00
tuandClaude Opus 4.7 cdfb6d4ecd v2.0.14 — oumta-dashboard: self-healing poll loop
Initial-bootstrap failure stopped the poll interval from ever starting,
and even once running, refresh() never reset the indicator back to
'polling' on success — so a single upstream blip pinned the plugin
in an error state until the user reloaded the page.

refresh() now loads namespaces on demand (absorbs bootstrap), the
interval is started unconditionally on show(), and every successful
poll flips the indicator back to green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 13:46:18 +02:00
tuandClaude Opus 4.7 efd3f9d5ae v2.0.13 — oumta-dashboard via PHP proxy; quiet support poll
Dashboard now reachable across the internet: browser calls /api/dashboard/*
same-origin, PHP forwards to OUMTA_DASHBOARD_URL (configurable via env,
with docker-compose defaults pointing at host.docker.internal:8085).
Keeps the bearer token server-side and lets the dashboard live on a
private network.

Plumbing bits: polling indicator now green (no reason to look anxious
about a healthy poll loop), and the support plugin returns 200 pulled=0
when its relay isn't configured instead of flooding the network tab
with 502s on every background tick.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 13:37:06 +02:00