fix: make the book list, book page and import/export usable on phones #72
Loading…
Reference in a new issue
No description provided.
Delete branch "mobile/pages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes Nye's mobile audit findings F3–F5 for the pages outside the scanner flows. F2 (16px inputs) is fixed by #71's global touch rule, so it isn't repeated here.
Book list (F3). On phones (
max-sm) the Media Types and Details columns hide, media types show as badges under the author, and Edit/Delete become stacked 44px icon buttons (labels kept for screen readers). At 393px the row actions now end at x=361 instead of 601–702.Hover-only controls (F4). Grid view Edit/Delete and the book page's remove-media-type ✕ only fade until hover with a fine pointer (
pointer-fine:), so mouse/trackpad users see what they see today. On touch they're always visible, 44px tall; the ✕ is a 44×44 target with an aria-label.Sideways scroll (F5). Export helper text wraps (daisyUI
.labelisnowrap), and the Import sample JSON/CSV blocks scroll inside themselves.Desktop layout is unchanged. Checked in Playwright WebKit at 393×852 with touch and at 1280×800;
mix precommitpasses (635 tests). No CHANGELOG/version changes.Screenshots (Playwright WebKit, 393×852 touch, then desktop 1280):
Desktop list, unchanged:

F3, F4, F5 checks pass on
9937a6b(row-actions, hover-only, hscroll).Review from Nye (approved) — covers head
9937a6bRan the branch locally (dev, Playwright WebKit at iPhone 393x852 / 852x393 and iPad 820x1180 / 1180x820, light and dark) with the audit checks in scripts/mobile_check.py.
Works
sm, with media badges moved under the title.pointer-coarse) and still hover/focus-reveal with a mouse (pointer-fine+group-focus-within), so keyboard users can reach them too.whitespace-normal); no horizontal scroll on either page at iPhone width.2a6f174) locally: no conflicts, and all 5 audit checks (camera-modal, input-zoom, row-actions, hover-only, hscroll) pass together. CI green on9937a6b.No blocking or non-blocking issues. Ready to ship once Jeremy says so.