fix(theme): Aurora UX fixes — dashboard counts/gauges, page layouts, RDP/peers/settings - #162
Merged
Merged
Conversation
…/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.
…3 width + content fit
…tus color/icon, badge inside
…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
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.
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-only —
default/probeweisbar unverändert (pro.css/app.css/Templates nie editiert; theme-branched JS viaisAurora()mit byte-identischem else-Pfad; globaler Sidebar-Fix mobile-sicher).Dashboard
{gateways:[…]}korrekt entpackt (Array.isArray(gwData)-Bug)/api/pihole/stats→/api/v1/pihole/summary,ph.summary→ph.dataPeers
/gateways#gw/<id>Gateways
auto-fit), Discovered/Scan je 1/2RDP
GET /rdp/:id/session, feature-gated)Settings
position:static, global, Mobile-Drawer intakt)Tests:
aurora_theme144/144 +api_settings48/48. Jeder Fix subagent-driven + zweistufig reviewt; finaler opus-Whole-Branch-Review bestanden. Keinpackage.json-Version-Bump (CI).🤖 Generated with Claude Code