Skip to content

fix(theme): Aurora UX fixes — dashboard counts/gauges, page layouts, RDP/peers/settings - #162

Merged
CallMeTechie merged 7 commits into
masterfrom
feat/aurora-ux-fixes
Jun 22, 2026
Merged

CallMeTechie merged 7 commits into
masterfrom
feat/aurora-ux-fixes

Conversation

@CallMeTechie

Copy link
Copy Markdown
Owner

Aurora UX-Fixes (aus Real-Usage-Review)

Behebt 19 reale Bugs/UX-Punkte aus der Nutzung des released Aurora-Themes (v1.91.0) + 4 Layout-Nachbesserungen. Alle Aurora-onlydefault/pro beweisbar unverändert (pro.css/app.css/Templates nie editiert; theme-branched JS via isAurora() mit byte-identischem else-Pfad; globaler Sidebar-Fix mobile-sicher).

Dashboard

  • Gateways-KPI zeigte 0 → API-Envelope {gateways:[…]} korrekt entpackt (Array.isArray(gwData)-Bug)
  • Peers-KPI zählte Gateways mit → echte Peers (Online-Gateways abgezogen)
  • Pi-hole-Donut „unavailable" → falsche URL /api/pihole/stats/api/v1/pihole/summary, ph.summaryph.data
  • CPU/RAM als radiale Donut-Gauges statt nur %-Text

Peers

  • Online-Badge in die Gateway-Karte; Zahnrad öffnet Edit (stopPropagation); Karten-Klick → /gateways#gw/<id>

Gateways

  • Fleet-Badge in Karte + Text links vom Dot; Detail „Versionen & System" als vertikale kv-Liste (kein Overflow); Detail-Karten 1/4→1/3 (responsive auto-fit), Discovered/Scan je 1/2

RDP

  • Edit-Crash behoben („Cannot set properties of null") — 6 im Aurora-Template fehlende Browser-Checkboxen ergänzt
  • Karten-Grid konsistent; Badge im Header (Text links vom Dot); Verbindungstest Farbe+Icon statt großem „online"-Text; Browser-Session-Button (echte Route GET /rdp/:id/session, feature-gated)

Settings

  • Aurora im Default-Theme-Picker; Karten inhaltshoch + 2-Spalten-Packung (keine Strecke/Lücke); Sidebar verdeckt Logo nicht mehr (position:static, global, Mobile-Drawer intakt)

Tests: aurora_theme 144/144 + api_settings 48/48. Jeder Fix subagent-driven + zweistufig reviewt; finaler opus-Whole-Branch-Review bestanden. Kein package.json-Version-Bump (CI).

🤖 Generated with Claude Code

…/RAM gauges

Bug 1: /api/v1/gateways returns { gateways:[…] } not a bare array — fix
Array.isArray check to use gwData.gateways so stat-gateways shows correctly.

Bug 2: Peers KPI included gateway peers — subtract onlineGateways after the
gateways fetch resolves so stat-peers shows only non-gateway connected peers.

Bug 3: Pi-hole donut fetched wrong URL (/api/pihole/stats) and read wrong
response keys (ph.summary.*) — fix to /api/v1/pihole/summary + ph.data.*.

Enhancement: CPU + RAM rendered as radial donut gauges (same SVG pattern as
pi-hole donut). auroraRefreshResources() + auroraSetResourceDonut() added;
refreshResources() gets isAurora guard; dashboard.njk updated with donut SVGs;
aurora.css gets .res-gauge-wrap/.res-gauge-info rules. Default/pro unchanged.
…ar no longer covers logo

Issue 17: add data-default-theme="aurora" button to default-theme picker in aurora settings.njk (reuses profile.theme_aurora i18n key, API already accepts aurora).
Issue 18: scope align-items:start to .settings-panel .grid in aurora.css so app-info card no longer stretches to match tall neighbours.
Issue 19: add position:static to .sidebar rule in aurora.css so sidebar returns to grid flow and .app-brand logo+wordmark are no longer covered; mobile @media (max-width:980px) re-applies position:fixed for drawer — intact.
5 new tests in aurora_theme.test.js; 144/144 pass.
…side, gw-detail half cards, settings card packing
@CallMeTechie
CallMeTechie merged commit 1c508c5 into master Jun 22, 2026
8 checks passed
@CallMeTechie
CallMeTechie deleted the feat/aurora-ux-fixes branch June 22, 2026 13:02
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