UI: make Evidence Inspector & Workflow Dashboard legible to non-experts#76
Merged
Conversation
… to non-experts Add explanatory microcopy (what an evidence bundle is, what VALID proves, what each hash/status means), color-coded status/verification badges, active-nav 'you are here' cues, semantic tables (th scope, caption), horizontal-scroll wrappers, hash truncation with full-value-on-hover, richer empty states, a footer clarifying read-only/no-auth posture, and prefers-color-scheme dark mode. All CSS stays inline (no CDN/network). Read-only surface, routes, JSON API, and XSS escaping unchanged.
|
Bench compare Threshold for regression: ≥ 10% slower mean.
|
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.
Improves the two read-only
--features serveweb UIs so a non-expert can understand them (feedback: "I understand nothing about this interface"). Read-only, self-contained, XSS-safe — no behavior change.Evidence Inspector (
evidence_serve.rs)title) for long hashes<caption>/<th scope>on tables, horizontal-scroll wrappersaria-current, footer stating read-only/no-auth/127.0.0.1 posture,prefers-color-schemedark modeWorkflow Dashboard (
dashboard.rs)<th scope>,<caption>,<main>, viewport meta), scrollable tablesConstraints honored: all CSS inline (no CDN/network), read-only (no new mutating routes/forms), routes + JSON API shapes unchanged, every dynamic value still through
esc(). Gated green locally: build + clippy-D warnings+ fmt + tests (234). 2 files, +262/-74.