Repository navigation
desktop: visual identity, and a readiness model in place of the step wizard - #3
Merged
Merged
Conversation
The window read as generated: a system font stack with no voice, one mint accent used as both brand colour and success state, 6px radius everywhere, and a near-black rail with a single colour pop. Reorganises the token layer around one rule — achromatic chrome, chromatic evidence. The fascia is warm graphite, bone and hairlines; saturated colour appears only where it carries meaning (recovery tier, coverage bucket, verified/failed) and is always legended. That is rule 12 applied to the interface: colour is evidence, never decor. - Bundles Archivo and JetBrains Mono as woff2 (both OFL, NFR-16 compatible). They are bundled rather than linked because the window resolves no hostname (main.ts), so a webfont link would fail silently and fall back to the system stack. - Amber replaces mint as the sole interactive hue, reserved for the current step and the one primary action per screen. Green now means verified and nothing else. - Squares the geometry (2px) and drops card shadows for hairline rules; step markers become gutter ticks rather than filled circles. - Fixes a semantic bug in Overview: every completed step rendered green, so "0 recordings recovered" read as good news when that absence may be the most important finding on the evidence. Completed steps are now neutral — the rail's tick already carries completion — and colour is kept for what needs attention. Contrast verified against WCAG in both themes: body >= 12.8:1, secondary >= 4.7:1.
… I in the list" The window modelled the examination as an 11-step wizard and pointed at the first step still open. On a case already identified, parsed, timed, recovered, analysed and exported, that meant the largest card on the screen, the rail's NEXT tag and the footer button all said "next: step 2, scene documents" — sending the examiner backwards, three times over, in answer to a question nobody asks. The question an examiner has is whether the report can be signed yet, and if not what is missing. The engine already answers it: report §7 negative findings are generated from the case and cannot be deleted. `gaps.ts` reads the same signals from `case info` progress so the window can show them live, before a report exists, ranked by what each omission costs the report rather than by position in a list. - Overview's next-step card becomes a readiness list: each outstanding obligation with what it is, why it matters, and the negative-finding code it becomes if the report is generated as it stands. - `nextStep` delegates to the same model, so the rail tag, the footer and the card can no longer disagree with each other. - The footer's forward button drops to secondary and reads "Next: <step>". It is paging, not instruction; the primary action belongs to the screen's own work, and there is now exactly one primary action visible at a time. Weight is spelled out in words (blocking / serious / attention) as well as colour, so the ranking survives without it.
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.
Two changes to the desktop app: how it looks, and what it tells you to do next.
1 · An instrument fascia, not a dashboard
The window read as generated — a system font stack with no voice, one mint accent doing duty as both brand colour and success state, 6px radius everywhere, and a near-black rail with a single colour pop.
Reorganises the token layer around one rule: achromatic chrome, chromatic evidence. The fascia is warm graphite, bone and hairlines; saturated colour appears only where it carries meaning — recovery tier, coverage bucket, verified/failed — and is always legended. That is rule 12 applied to the interface: colour is evidence, never decoration.
Contrast verified against WCAG in both themes: body ≥ 12.8:1, secondary ≥ 4.7:1.
2 · "What does this case still need", not "where am I in the list"
nextStepscanned steps 1→11 and returned the first one still open. On a case already identified, parsed, timed, recovered, analysed and exported, that meant the largest card on the screen, the rail's NEXT tag and the footer button all said "next: step 2, scene documents" — pointing the examiner backwards, three times over.The question an examiner actually has is whether the report can be signed yet, and if not what is missing. The engine already answers it: §7 negative findings are generated from the case and cannot be deleted.
gaps.tsreads the same signals fromcase infoprogress so the window can show them live, before a report exists, ranked by what each omission costs the report.NF-code it becomes if the report is generated as it stands.nextStepdelegates to the same model, so rail, footer and card can no longer disagree.Also fixes a semantic bug: every completed step rendered green, so "0 recordings recovered" read as good news when that absence may be the most important finding on the evidence. Completed steps are neutral; the rail's tick already carries completion.
Checks
482 passed · 1 skipped · 1 xfailed (both pre-existing and documented) · ruff clean · both TS projects typecheck · all 13 screens render with zero console output.
Not in this PR
Interiors of Parse, Recover, Export and Report are untouched — their information hierarchy is as it was.
Worth knowing separately: the app still has no Edit menu, so ⌘C/⌘V are dead in every text field on macOS. One-line fix, happy to raise it on its own.