Skip to content

Clean view: values first, caveats under Details - #33

Merged
keptlive merged 1 commit into
mainfrom
report-clean
Nov 18, 2026
Merged

keptlive merged 1 commit into
mainfrom
report-clean

Conversation

@keptlive

Copy link
Copy Markdown
Owner

The report carried every caveat next to its value. On screen it now shows the values and keeps the explanations one tap away.

  • Sheet sections and cards: notes, source lines and write-in blanks fold under a small Details switch per section. Correction links stay visible; forms keep their own notes.
  • Recalls: this VIN's result first; each campaign is one line (component, campaign number, month) and opens on tap or Enter. Campaigns under related model names fold under their heading.
  • Complaints: two lines each, tap for the full text.
  • Layout: short values share a row (two on a phone, three in desktop cards); the lookup form shrinks to one row once a report is open; redundant hero badges and the stock-photo strip are dropped on phones.
  • How: public/report-clean.js only marks what the generators wrote and adds the switches; public/report-clean.css is entirely @media screen. Print is unchanged (checked in print emulation).

Phone heights for the example report: Overview 5,207 → 3,800 px, Safety 6,279 → 2,970 px, Tires 1,760 → 1,095 px.

npm test: 259 tests, 0 failures. Browser-checked at 390 px and 1280 px.

🤖 Generated with Claude Code

On screen the report now hides explanatory text until asked for: sheet and card notes, source lines and
write-in blanks fold under a Details switch per section; recall campaigns show one line each and open on
tap; related-model campaigns fold under their heading; complaints show two lines each; short values sit
two or three to a row. The lookup form shrinks once a report is open. Nothing the generators write is
changed and every rule is screen only, so print is as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@keptlive
keptlive merged commit 5738095 into main Nov 18, 2026
2 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.

1 participant