Skip to content

desktop: visual identity, and a readiness model in place of the step wizard - #3

Merged
ShankhanilSaha merged 2 commits into
mainfrom
feat/desktop-visual-identity
Sep 29, 2026
Merged

ShankhanilSaha merged 2 commits into
mainfrom
feat/desktop-visual-identity

Conversation

@WasThatRudy

Copy link
Copy Markdown
Collaborator

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.

  • Bundles Archivo and JetBrains Mono as woff2 (both OFL, NFR-16 compatible). Bundled rather than linked because the window resolves no hostname, so a webfont link fails silently back to the system stack.
  • Amber replaces mint as the only 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), drops card shadows for hairline rules, step markers become gutter ticks.

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"

nextStep scanned 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.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.

  • Overview's card becomes a readiness list — each obligation with what it is, why it matters, and the NF- code it becomes if the report is generated as it stands.
  • nextStep delegates to the same model, so rail, footer and card can no longer disagree.
  • The footer drops to secondary and reads "Next: " — paging, not instruction. One primary action visible at a time.

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.

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.

@ShankhanilSaha ShankhanilSaha left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShankhanilSaha
ShankhanilSaha merged commit 5e92256 into main Sep 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants