fix(theme): Aurora dashboard — compact KPI row, conditional Availability KPI, header auto-update, no reload - #173
Merged
Conversation
…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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.test144/0 (Dashboard-Layout-Assertion angepasst).Hinweis: Die Verfügbarkeits-KPI lässt sich in der Test-Umgebung nicht live triggern (dort wirft
/api/dashboard/statsohne echtes WireGuard 500); die Bedingung greift am echten Server.