Skip to content

fix(theme): Aurora dashboard — compact KPI row, conditional Availability KPI, header auto-update, no reload - #173

Merged
CallMeTechie merged 1 commit into
masterfrom
fix/aurora-dashboard-kpi-header
Jun 23, 2026
Merged

CallMeTechie merged 1 commit into
masterfrom
fix/aurora-dashboard-kpi-header

Conversation

@CallMeTechie

Copy link
Copy Markdown
Owner

Vier Dashboard-Verbesserungen (Aurora).

1. KPI-Reihe

Die 6 KPI-Karten liegen jetzt in einem responsiven .aurora-kpi-grid (auto-fit, min 130px): alle sechs passen bis ~1200px-Viewport in eine Reihe, darunter wird progressiv umgebrochen/gestapelt. Karten kompakter (Padding/Icon/Wert kleiner). Die Verfügbarkeits-KPI wird nur angezeigt, wenn ≥1 Route Monitoring aktiviert hat (monitoring.total > 0).

2. „Neu laden"

Button + Handler entfernt.

3. Header-Umbau

Auto-Update-Status (Pill + Versions-Badge + „Neu prüfen" + „Einrichten") aus dem Seiten-Header in die Topbar verschoben, neben das Verbindungs-Badge. Dieses umbenannt: „WireGuard aktiv" → „Tunnel aktiv".

4. Auto-Update-Buttons

„Neu prüfen" → Refresh-Icon. „Einrichten" → „Auto Update einrichten", nur sichtbar solange Auto-Update nicht aktiv ist (status !== 'active') — sobald eingerichtet, ausgeblendet.

Aurora-only. aurora_theme.test 144/0 (Dashboard-Layout-Assertion angepasst).

Hinweis: Die Verfügbarkeits-KPI lässt sich in der Test-Umgebung nicht live triggern (dort wirft /api/dashboard/stats ohne echtes WireGuard 500); die Bedingung greift am echten Server.

…ity KPI, header auto-update, no reload

- KPI cards: moved into a responsive .aurora-kpi-grid (auto-fit, min 130px) so all
  six fit in one row down to a ~1200px viewport, then progressively wrap/stack.
  Cards compacted (smaller padding/icon/value) to fit six across.
- Availability (monitoring) KPI is hidden by default and only shown when >=1 route
  has monitoring enabled (monitoring.total > 0), toggled in auroraRefreshStats.
- Removed the 'Reload' button + its handler.
- Moved the auto-update status (pill + version badge + re-check + set-up) from the
  page header into the topbar next to the connection badge, which is renamed
  'WireGuard active' -> 'Tunnel active' (status.wg_active).
- Re-check is now a refresh icon button; the set-up button is relabelled
  'Set up auto-update' and only shows while auto-update is not active (status !== 'active').

Aurora-only. aurora_theme.test 144/0 (dashboard layout assertion updated).
@CallMeTechie
CallMeTechie merged commit fe5278a into master Jun 23, 2026
7 of 8 checks passed
@CallMeTechie
CallMeTechie deleted the fix/aurora-dashboard-kpi-header branch June 25, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant