diff --git a/cmd/zero-scale-dashboard/dashboard.html b/cmd/zero-scale-dashboard/dashboard.html
index 9cfb2eb..bc55ffe 100644
--- a/cmd/zero-scale-dashboard/dashboard.html
+++ b/cmd/zero-scale-dashboard/dashboard.html
@@ -204,6 +204,14 @@
.node-metric { margin-top: 10px; }
.metric-label-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
+ .loading-placeholder {
+ grid-column: 1 / -1;
+ color: var(--text-muted);
+ font-size: 13px;
+ padding: 16px 4px;
+ font-style: italic;
+ }
+
/* Node RAM Breakdown & Top Consumers */
.node-ram-breakdown {
margin-top: 12px;
@@ -635,7 +643,7 @@
High-Availability Data & Distributed Storage Controllers
-
Querying platform operators...
+
Querying platform operators...
@@ -646,7 +654,7 @@
-
Connecting to cluster node metrics...
+
Connecting to cluster node metrics...
@@ -664,12 +672,12 @@
-
Querying zero-scale runner runtime...
+
Querying zero-scale runner runtime...
-
Discovering cluster ingress services...
+
Discovering cluster ingress services...
@@ -957,6 +965,9 @@ function renderOperators(ops, eff) {
const opsCont = document.getElementById('operators-container');
if (!opsCont || !ops) return;
+ const ph = document.getElementById('placeholder-operators');
+ if (ph) ph.remove();
+
const pg = ops.postgres;
const lh = ops.longhorn;
@@ -1081,6 +1092,9 @@ function renderNodes(nodes, isAuthed) {
const nodesCont = document.getElementById('nodes-container');
if (!nodesCont || !nodes) return;
+ const ph = document.getElementById('placeholder-nodes');
+ if (ph) ph.remove();
+
nodes.forEach(n => {
const cardId = 'node-card-' + n.name.replace(/[^a-zA-Z0-9_-]/g, '-');
let card = document.getElementById(cardId);
@@ -1192,6 +1206,9 @@ function renderZeroScale(zeroApps, isAuthed, token) {
const zeroCont = document.getElementById('zero-container');
if (!zeroCont || !zeroApps) return;
+ const ph = document.getElementById('placeholder-zero');
+ if (ph) ph.remove();
+
zeroApps.forEach(app => {
const cardId = 'zero-card-' + app.host.replace(/[^a-zA-Z0-9_-]/g, '-');
let card = document.getElementById(cardId);
@@ -1236,6 +1253,9 @@ function renderOtherSites(otherSites) {
const sitesCont = document.getElementById('sites-container');
if (!sitesCont || !otherSites) return;
+ const ph = document.getElementById('placeholder-sites');
+ if (ph) ph.remove();
+
// Only render once if not yet built; avoid rebuilding static Ingress links every 10s
if (sitesCont.children.length > 0) return;