feat: redesign the pwm-tui dashboard (flow strip + dominant overview pane)#202
Merged
Conversation
A horizontal pipeline flow strip replaces the vertical rail, and a dominant always-visible overview pane carries the run: live download gauges with a throughput sparkline during FETCH, substage progress and a quantize bar during EXPORT, then a KPI grid (checkpoint, params, graph, latency, witness, Freivalds, float gate, z_next) that fills in live from exporter events, op-mix bars, the commitment table, and the verdict banner. A secondary per-stage detail pane (arrow keys) keeps the advanced view. Charm-style truecolor palette, rounded padded panels, NO_COLOR intact, narrow terminals drop the side pane. Header and labels are factual; promotional phrasing removed.
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.
Redesigns the
pwm-tuifront end around a dominant, always-visible overview, with the per-stage detail demoted to a side pane.Layout
What changed
NO_COLORstill renders cleanly.Mechanics
app.rsgains a typedDashstruct that absorbs the exporter kv stream (so the dashboard has live numbers before stage 2), a per-tick downloaded-bytes sampler feeding the sparkline, and frozen elapsed time.ui.rsis a full rewrite;pipeline.rsblurbs trimmed; keys extended inmain.rs. Headless mode, the JSON summary, the pipeline, and the cache are untouched.TestBackendrender assertions for the fetch activity, the post-report dashboard (KPIs, op mix, commitments, verdicts), the narrow-terminal fallback, failure states, and a fluff guard (the rendered frame must not contain "docker" or "REAL"). Adump_frames_for_eyeballtest prints full frames under--nocapturefor visual review.--headless --offline --jsonstill exits 0 with EXPORT skipped, and the interactive TUI runs and quits cleanly under a pty.