Remove old inline dashboard snapshot from production builds #5

Closed
opened 2026-05-17 11:21:50 +00:00 by MrSphay · 3 comments
Owner

Created from local project scan after fixing the live-data bug.

Current status: dashboard/public/jarvis.html still contains a large inline April 2026 snapshot as offline fallback. The server now ignores it and fetches /api/data, but keeping old operational-looking data in the shipped HTML remains confusing and risky for cache/offline scenarios.

Acceptance criteria:

  • Production Docker/dashboard runtime should ship a shell without stale operational data embedded in D.
  • Offline/demo mode must be explicit and visibly labeled as demo/offline if retained.
  • inject.mjs static injection remains available only as a CLI/build helper, not as hidden production fallback.
  • Add a small regression check that server-mode dashboard fetches /api/data before rendering operational data.
Created from local project scan after fixing the live-data bug. Current status: dashboard/public/jarvis.html still contains a large inline April 2026 snapshot as offline fallback. The server now ignores it and fetches /api/data, but keeping old operational-looking data in the shipped HTML remains confusing and risky for cache/offline scenarios. Acceptance criteria: - Production Docker/dashboard runtime should ship a shell without stale operational data embedded in D. - Offline/demo mode must be explicit and visibly labeled as demo/offline if retained. - inject.mjs static injection remains available only as a CLI/build helper, not as hidden production fallback. - Add a small regression check that server-mode dashboard fetches /api/data before rendering operational data.
Author
Owner

In Bearbeitung durch Codex auf Branch codex/issue-5-dashboard-shell. Scope: alten inline Dashboard-Snapshot aus production jarvis.html entfernen bzw. Demo/offline eindeutig machen, server-mode /api/data Fetch vor Operational-Rendering absichern, kleiner Regressionstest. Keine Source-/Docker-/Alert-Aenderungen, damit parallele Branches sauber mergbar bleiben.

In Bearbeitung durch Codex auf Branch codex/issue-5-dashboard-shell. Scope: alten inline Dashboard-Snapshot aus production jarvis.html entfernen bzw. Demo/offline eindeutig machen, server-mode /api/data Fetch vor Operational-Rendering absichern, kleiner Regressionstest. Keine Source-/Docker-/Alert-Aenderungen, damit parallele Branches sauber mergbar bleiben.
Author
Owner

PR geoeffnet: #20\n\nStatus: Umsetzung fuer Issue #5 ist fertig auf Branch codex/issue-5-dashboard-shell. Der alte April-2026-Snapshot ist aus jarvis.html entfernt, Server-Mode fetches /api/data vor init/render, offline/file mode nutzt nur eine explizite Offline-Shell. Lokale npm/node Tests nicht ausgefuehrt; Runner soll npm run test:unit pruefen.

PR geoeffnet: https://git.wilkensxl.de/MrSphay/intelligence-terminal/pulls/20\n\nStatus: Umsetzung fuer Issue #5 ist fertig auf Branch codex/issue-5-dashboard-shell. Der alte April-2026-Snapshot ist aus jarvis.html entfernt, Server-Mode fetches /api/data vor init/render, offline/file mode nutzt nur eine explizite Offline-Shell. Lokale npm/node Tests nicht ausgefuehrt; Runner soll npm run test:unit pruefen.
Author
Owner

Update: PR #20 wurde auf die aktuelle codex/production-intelligence-terminal rebased und ist wieder mergeable. Konflikt in dashboard/public/jarvis.html geloest: neue Terminal-Actions-UI bleibt erhalten, alter Inline-Snapshot bleibt entfernt. Runner-only: keine lokalen npm/node Tests.

Update: PR #20 wurde auf die aktuelle codex/production-intelligence-terminal rebased und ist wieder mergeable. Konflikt in dashboard/public/jarvis.html geloest: neue Terminal-Actions-UI bleibt erhalten, alter Inline-Snapshot bleibt entfernt. Runner-only: keine lokalen npm/node Tests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MrSphay/intelligence-terminal#5