Files
museion/.impeccable/critique/2026-10-07T15-20-25Z__museion-readingpresenter-swift.md
AlexKucera c7a6a82283 fix(reading): repair image, table, and link styling per critique
Address critique #2 findings in reading.css: replace the hover-expand
image sliver with a resting framed thumbnail and visible captions (P0),
honor align attributes on table cells instead of forcing left (P1), and
surface href + edit cue on link hover so plain-click-into-edit has a
visual contract (P1).

Also records both critique rulings under .impeccable/critique/ and
notes the single-size 1024px App icon convention in Museion/AGENTS.md.
2026-10-08 10:19:26 +02:00

54 lines
4.7 KiB
Markdown

---
target: the polished reading surface, re-run
total_score: 16
max_score: 32
na_heuristics: 7,10
p0_count: 1
p1_count: 3
target_identity: "file:/Users/alex/Projects/macOS/Museion/Museion/ReadingPresenter.swift"
target_fingerprint: "sha256:84b15df221daec8053edb7f9328d46f34165de334e7e843778372641d5b76c26"
target_path: /Users/alex/Projects/macOS/Museion/Museion/ReadingPresenter.swift
timestamp: 2026-10-07T15-20-25Z
slug: museion-readingpresenter-swift
---
### Critique #2 — Museion reading surface (post-polish, user-dialed spacing)
Method: dual-agent (A: design review sa-0-444abc9b · B: detector+CSS audit sa-0-61d0567a)
| # | Heuristic | Score | Key Issue |
|---|-----------|-------|-----------|
| 1 | Visibility of System Status | 2 | No reading-position signal; hover block-highlight is the only "you are here" |
| 2 | Match System / Real World | 3 | Machine front-matter (pass_state:) leaks into reading as an H2 before the H1 |
| 3 | User Control and Freedom | 2 | Hover image expansion can't be pinned, focused, or dismissed on intent |
| 4 | Consistency and Standards | 2 | Inline ~15px vs block 14px code; h4-h6 identical; table alignment silently discarded |
| 5 | Error Prevention | 1 | Plain click on a link drops into edit mode - reversed convention, no cue |
| 6 | Recognition Rather Than Recall | 2 | Image affordance is a 1.6em sliver, no frame/cursor/hint |
| 7 | Flexibility and Efficiency | n/a | Reading surface; app-level shortcuts exist |
| 8 | Aesthetic and Minimalist Design | 3 | Genuinely calm; docked for stretched gaps and near-invisible rules (user-ruled values) |
| 9 | Error Recovery | 1 | No failure state designed - renderer failure is a blank page |
| 10 | Help and Documentation | n/a | Static prose surface |
| **Total** | | **16/32** | **Acceptable** |
#### Design Specificity Verdict
LLM: "A literate category-default, not yet an authored surface." Restraint and taste are real (Butterick faces, two-weight rule system, smart typography verified in render) but nothing on the page is Museion-specific; the scholar-critical constructs are exactly the unstyled/unverified ones (no title block, front-matter leaks, footnote styling untested - corpus contains zero footnote constructs).
Detector: clean. 1 advisory (em-dash overuse) firing on authored prose content - false positive for a reading renderer. CSS audit: 17/17 vars defined and used, braces balanced, no dead tokens. ReadingPresenter.swift clean.
#### Priority Issues
- **[P0] Hover-expand image is a defect**: renders as invisible 1.6em sliver, hover-only (no keyboard path), expands in-flow reflowing the paragraph, figcaption display:none discards alt text. Fix: resting thumbnail with hairline frame + cursor:zoom-in, click/Enter to open pinned overlay, show caption. ($impeccable polish)
- **[P1] Measure runs wide**: 66ch of a narrow-zero serif lands ~75-85 avg chars. Fix: ~58-60ch or 36-38em, verify against real Valkyrie metrics in-app. ($impeccable typeset)
- **[P1] Table alignment silently discarded**: CSS text-align:left overrides apex's align="center" presentation attributes (4 in kitchen-sink). Fix: drop the declaration or add th[align]/td[align] handling. ($impeccable polish)
- **[P1] Link/edit inversion has no visual contract**: ink-colored links, faint underline, plain click = edit mode. Fix: flip default (click opens, intent edits) or distinct resting treatment + first-use hover cue. (product decision, then $impeccable polish)
- **[P2] No title block; front matter leaks**: byline renders as bare paragraph; handoff doc opens hr + pass_state: as H2 before H1; h1:h2 ratio 1.35 under-dominates. Fix: designed deck (muted metadata line, stronger h1), suppress body>hr:first-child, decide where front-matter fields render. ($impeccable polish)
#### Persona Red Flags
Alex (power user): plain-click-into-edit betrays muscle memory on every link; hover-reflow interrupts reading mid-line; no keyboard path to zoom images.
Sam (a11y): figcaption display:none removes the accessible name path for figures; hover-only image affordance unreachable by keyboard; contrast fine; :focus-visible present.
#### Minor Observations
No prefers-color-scheme (dark variant ~10 lines, all tokens exist). Code undersized (14px block / 0.88em inline vs 17px body). hr asymmetric (67.5px above / 17px below). Default browser list markers. No text-wrap:pretty / hanging-punctuation. Footnote selectors unverified against apex output.
#### Questions to Consider
1. If the page is interchangeable with a good web theme, is the reading surface a product or just a viewport?
2. Is the reading temple one you keep leaving by accident - should edit-entry require visible intent?
3. Which single element (footnote craft, small-caps running heads, drop caps) would make this unmistakably Alexander's?