[object Object]

← back to AbramsEgo

fix: donut legend only labels truly-local providers $0 (local) — paid-but-idle shows honest $0

aa0e51f6c5aab48a10009e4a4d3266a930c45c9c · 2026-07-01 14:41:59 -0700 · Steve

Files touched

Diff

commit aa0e51f6c5aab48a10009e4a4d3266a930c45c9c
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Jul 1 14:41:59 2026 -0700

    fix: donut legend only labels truly-local providers $0 (local) — paid-but-idle shows honest $0
---
 build-queue/{tasks => done}/25-donut-paid-zero-label.md | 0
 data/local-fleet.json                                   | 2 +-
 public/index.html                                       | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-queue/tasks/25-donut-paid-zero-label.md b/build-queue/done/25-donut-paid-zero-label.md
similarity index 100%
rename from build-queue/tasks/25-donut-paid-zero-label.md
rename to build-queue/done/25-donut-paid-zero-label.md
diff --git a/data/local-fleet.json b/data/local-fleet.json
index 5c02fa5..9852744 100644
--- a/data/local-fleet.json
+++ b/data/local-fleet.json
@@ -1 +1 @@
-{"fetchedAt":"2026-07-01T21:39:26.867Z","procs":[{"name":"pm2-logrotate","status":"online","cpu":0.2,"memMB":45,"restarts":0,"uptimeMs":1969282,"startedAt":"2026-07-01T21:06:37.585Z"},{"name":"abramsego","status":"online","cpu":0.4,"memMB":64,"restarts":5,"uptimeMs":510664,"startedAt":"2026-07-01T21:30:56.203Z"},{"name":"api-token-dashboard","status":"online","cpu":0.1,"memMB":51,"restarts":3,"uptimeMs":246550,"startedAt":"2026-07-01T21:35:20.317Z"}]}
\ No newline at end of file
+{"fetchedAt":"2026-07-01T21:41:30.933Z","procs":[{"name":"pm2-logrotate","status":"online","cpu":0,"memMB":45,"restarts":0,"uptimeMs":2093348,"startedAt":"2026-07-01T21:06:37.585Z"},{"name":"abramsego","status":"online","cpu":0,"memMB":76,"restarts":6,"uptimeMs":587,"startedAt":"2026-07-01T21:41:30.346Z"},{"name":"api-token-dashboard","status":"online","cpu":0,"memMB":52,"restarts":3,"uptimeMs":370616,"startedAt":"2026-07-01T21:35:20.317Z"}]}
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index 0d38f77..fac1bcd 100644
--- a/public/index.html
+++ b/public/index.html
@@ -394,7 +394,7 @@ function renderProviderDonut(d){
   const legend=bp.map((p,i)=>{
     const col=PROV_COLORS[i%PROV_COLORS.length];
     const pctv=total>0?Math.round((p.total||0)/total*100):Math.round(100/bp.length);
-    const amt=(p.local||(p.total||0)===0)?'$0 (local)':usd(p.total);
+    const amt=p.local?'$0 (local)':usd(p.total);
     return `<div class="row"><span class="lbl"><span class="dot" style="background:${col}"></span>${p.provider}</span>`+
       `<span class="amt">${amt} · ${pctv}%</span></div>`;
   }).join('');

← 6f1dbde chore: replenish audit (fable) — 8/8 SPEC panels live, hard  ·  back to AbramsEgo  ·  chore: replenish audit (fable) — FULL COMPLETION: 8/8 SPEC p df74452 →