feat: Sparky UX/telemetry patterns (review only — do not merge yet) - #96
Open
MikeGibbsOnyx wants to merge 1 commit into
Open
MikeGibbsOnyx wants to merge 1 commit into
MikeGibbsOnyx wants to merge 1 commit into
Conversation
Port selected Command Center patterns into sparkDash without dropping Node/Vite or making the dashboard read-only. - Live in-flight decode strip (idle-safe) - Token bank across engine restarts - Comfy VRAM used/total + peak while rendering - Collapse all / Expand all (persisted) - Closeable Fabric note (no MikroTik scrape) - Token-bank I/O never throws into the poller Do not merge until Mia + second reviewer sign off.
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.
Summary
Steal selected UX/telemetry patterns from The Sparky Command Center into sparkDash. sparkDash stays Node/Vite/ops. This is not a Python rewrite and not a read-only dashboard.
Please do not merge to main until Mia and a second reviewer have signed off.
Motivation
Sparky is a different product (stdlib Python, :8890, read-only SSH + Prometheus). Several of its displays are worth copying:
N live · ~X tok/s each · Y combined) instead of a sticky last_gen gaugeChanges
src/lib/liveStrip.ts+ LLM panel: always show idle or live strip; lifetime tokensserver/tokenBank.js: persist{banked,lastLive}persparkId:portinconfig/token-bank.jsonComfyProbe:vramUsed/vramTotal/vramPeakfrom/system_statsFabricPanel: closeable note, optionalfabricNoteon a spark; no switch scrapeSPARKY-PATTERNS.mdNot in this PR: drag-reorder (CSS grid GPU row-span), MikroTik/RoCE poller, AuthGate, admin token.
Test Plan
npm test— server 318, frontend 25 (local Mac)vite build— no AuthGate strings in dist:5555/:5599loopbackNotes for Reviewers
idle — no in-flight decodeuntilrequestsRunning > 0andgenerationTps > 0.config/token-bank.json(gitignored).settings.jsonruntime drift is not in this commit.Fork:
MikeGibbsOnyx/sparkDashbranchfeat/sparky-patterns-local(8ae0c32).