Skip to content

fix(web): fill grid rows, keep mono on data, guard the drawer - #50

Merged
ahauy merged 5 commits into
mainfrom
feat/web-i18n-ux-refactor
Nov 6, 2026
Merged

ahauy merged 5 commits into
mainfrom
feat/web-i18n-ux-refactor

Conversation

@ahauy

@ahauy ahauy commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Metrics ribbon and bento grid no longer leave a half-empty last row: the 6-track band is bounded to 641-1024px (an unbounded max-width let span 3 create implicit tracks and divide the ribbon into thirds at 390px), and the trailing card closes the row at 2 and 3 column bands.
  • Mono is back on code, keycaps, digests and counts only. Sentence-shaped metadata (.license-tag, .spec-chip, .hint-label, .pillar-badge, .toggle-label, .gatekeeper-badge, .audit-link) now uses the body stack at the meta size.
  • Mono stack made deterministic: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace (the old list resolved whatever a visitor happened to have installed; measured here, SF Mono and JetBrains Mono do not exist).
  • Simulator type snapped off fractional rem onto documented steps: 0.72/0.78/0.85rem -> 11/12/13px. Nothing renders below 11px on the page.
  • DmgCard.astro and TerminalInstaller.astro deleted: 1,002 lines imported by nothing, already referencing i18n keys and a Homebrew tap that no longer exist. Feature README updated to name UnifiedInstaller.astro as the live component.
  • New web/tests/mobile-nav.test.mjs (4 cases) wired into npm test: asserts links and actions share one drawer container, the toggle stays outside the panel it opens, the 860px/900px drawer rules and the Escape/outside-click/matchMedia handlers ship, and VI collapses identically. This closes the gap the code graph flagged as Untested: initMobileNav.
  • .impeccable/ (generated critique snapshots) is now gitignored.

Test plan

  • npm test - 5/5 suites pass against the rebuilt web/dist
  • scripts/check-commit-messages.py over the 5 commits - exit 0, run before pushing
  • Authoritative grid probe (grid-template-columns + computed spans) at 390/560/640/700/900/1024/1440: every row full
  • Overflow sweep en + vi at 390/559/800/1024/1440: scrollWidth == clientWidth
  • impeccable detect --json web/src - 12 findings (9 radius inside the simulator mock geometry, 3 width/height transitions already guarded by .is-dragging and prefers-reduced-motion)
  • Safari / iOS gesture behaviour - not testable here: safaridriver exists but enabling it needs sudo safaridriver --enable
  • flat-type-hierarchy in the dist scan reviewed and recorded as a false positive: the detector samples by tag, while every heading here is sized by class (measured 12/13/14/18/22/30/64)

@ahauy
ahauy merged commit af0a55e into main Nov 6, 2026
4 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