From 23784accded053c72636126e1126e27e2b2d4d51 Mon Sep 17 00:00:00 2001
From: marvin
-
+
Why Site Gateway · diff --git a/ROADMAP.md b/ROADMAP.md index 43a3576..274ef32 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -138,3 +138,5 @@ Roughly in priority order: `v0.16.4` rewords the Reload & Restart section's "Docker socket not detected" message so it no longer reads as a duplicate of the Docker container-selection message elsewhere on the System tab. Both checks are independent (one gates the proxy-target container picker, the other gates whether Site Gateway can confirm this container will actually come back up before offering a restart), but they previously used the exact same sentence, which looked like a copy-paste mistake. No behavior change — the Restart button is still disabled under the same conditions as before. `v0.16.5` gives the Docker container-selection status its own `.health-tile` card (matching `BACKUP_PASSWORD` directly above it) instead of a plain paragraph — the two Environment/Integrations rows now look consistent whether Docker's socket is mounted or not. Also adds breathing room between the Reload & Restart buttons and the status line beneath them, which was sitting flush against the button row. + +`v0.16.6` fixes the real cause of the System tab's Scheduled jobs section always showing "No scheduled jobs reported.": the dashboard API nests job data under `dashboard.system.jobs`, but the System tab was reading `dashboard.jobs` — one level too shallow, so it was always undefined regardless of what the server returned. Also fixes the Docker socket status tile rendering wider than the `BACKUP_PASSWORD` tile above it — it wasn't wrapped in the same `.health-grid` container, so it spanned the full panel width instead of matching the two-column tile layout used everywhere else on the System tab. diff --git a/package.json b/package.json index d5e74e3..757540e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "site-gateway", - "version": "0.16.5", + "version": "0.16.6", "private": true, "description": "Site Gateway: simple self-hosted website publishing, reverse proxying, and automatic HTTPS.", "type": "module", diff --git a/src/public/features.js b/src/public/features.js index 42fd773..ca8b3f7 100644 --- a/src/public/features.js +++ b/src/public/features.js @@ -453,7 +453,7 @@ function renderDockerPanel() { if (!section) { section = document.createElement("div"); section.className = "docker-integration-section"; - section.innerHTML = '
Docker container selection
Docker container selection
No scheduled jobs reported.
'; + if (jobs) jobs.innerHTML = (state.dashboard?.system?.jobs || []).map(job => `No scheduled jobs reported.
'; const envStatus = document.querySelector("#system-env-status"); if (envStatus) { const encryptionAvailable = Boolean(state.config?.backup?.encryptionAvailable); diff --git a/src/public/index.html b/src/public/index.html index a310449..664ee10 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -8,7 +8,7 @@