layouts
All repositories: gitoria
3.1 KB
# ML — mobile-first audit of layouts.worldapi.org (branch ml-mobile)Method: every route (40 pages incl. 12 /read docs, 3 shell demos with items, empty note) + states (sidebar, search, user menu, 2 modals, date/range popups, three-pane/content-first overlays) at 390x844 touch DPR3 and 1280x800 in headless Chrome on loreana (ports 8860-8879; lisbeth's Chrome not touched). The app has no data/login (mock content only), no deploy backup exists, so no data copy was needed. In-page audits (tests/taps-audit, display-audit): no overflow, no input <16px, no tap <44 at 390 except the comments "edited" label; first paint (hydrated) < 0.4 s on every page. Screenshots: /media/STORAGE/claude-scratch/atlas/ML/shots/before, /media/STORAGE/claude-scratch/atlas/ML/shots/after, /media/STORAGE/claude-scratch/atlas/ML/shots/e2e (before*/after*/cmp_*).| page | defect | before | after | fixed ||---|---|---|---|---|| /shells/list-first (390+1280) | note rows shrink-wrapped: date glued to title, long title squeezes date to a "2/O/ct" column | e2e/before_shells_list-first-390.png | e2e/after_shells_list-first-390.png | y || /shells/three-pane (390+1280) | mail rows: sender, date, subject squeezed side by side ("Ant/on", "09:4/1") | e2e/before_shells_three-pane-390.png | e2e/after_shells_three-pane-390.png | y || /elements | table cell word "watched" broken to "watche/d" (body overflow-wrap:anywhere squeezes columns) | e2e/before_elements-390.png | e2e/after_elements-390.png | y || /components/comments | "edited" label 38x19 px tap target | e2e/before_components_comments-390.png | e2e/after_components_comments-390.png | y (phone only; desktop stays dense by design) || /read/layouts-* | inline code in titles title-sized, wraps word by word | e2e/before_read_layouts-app-header-390.png | e2e/after_read_layouts-app-header-390.png | y |Cause of the list defect: theme rule `li > a:first-child` (inline-flex, shrink-to-fit) out-ranked the shells' row rule; shells now also match `li > a:first-child` and stack their parts (flex-direction column). Theme changed -> apps (notes, tickets, ...) re-copy theme/ to get it.Gate (tests/browser.mjs, deploy GATES = check-theme + browser): old code with the new checks 311 passed / 5 failed (the 5 new checks fail on old); new code 316 passed / 0 failed, three runs in a row (one earlier run had 1 flake in the comments Edit key test, not reproducible). check-theme 0 problems.E2E: headless Chrome 390 + 1280 real-browser before/after of every fixed page (old server vs new, screenshots above, looked at). lisbeth's Chrome was not used (not running, per brief).Open items (not fixed, reasons)- md-editor / month-view / date-picker are verbatim copies of components.hybriel; not edited. month-view shows German weekday/month names ("Mo Di", "Oktober") while date-picker is English: locale inconsistency in components.hybriel.- Date/range picker: the Send button sits flush under the field (no gap) on the showcase page; page-level spacing in the showcase, minor, left.- Comments demo: the "You are: alice bob nobody now" row reads as unlabeled buttons; cosmetic.- Full-page captureBeyondViewport screenshots show the md-editor toolbar scrolled (first icon clipped); in a real viewport it is fine (checked).
Branches
Latest commits
- 6f7bd392gate: the phone toolbar is two even rows (E2)mre
- 3049c082sync components.hybriel 214c318: MdEditor on a phone, two even toolbar rows of 44 px targets, label 15 px, table head 16 px (E2)mre
- b9a3f85fLOG: MLmre
- 7979397creport ML-mobilemre
- 85d2ed25gate: wordingmre
- 98a311c0gate: 390 px checks for list rows, table word, edited tap target, code in titlesmre
- 769b99d7theme: table cells keep a word whole, code in a title stays text-sized, 'edited' is a 44 px tap target on the phonemre
- c36b7595list rows (notes, mail) stack their parts full width: the date no longer a one-letter column beside the titlemre
- 02aa74aasync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre
- 268b1c87sync components.hybriel 6b0936a: the 'edited' foldable drops the theme's border and marginmre
- c51d039fsync components.hybriel 8d79ff7: bubble hugs its content, quiet 'edited' label; gate checksmre
- f4ad7eecsync components 9a: shared Icon (icons/icons.hl), md-editor toolbar icons + single focus ring (components f4-icons ba96735)mre
- db258c11sync-components: copy icons/icons.hl + README (F4); testsmre
- badc1879md-editor.hl: verbatim copy of components f3-mdvalue (an older text handed back is kept)mre
- 867a8375md-editor.hl: verbatim copy of components f3-mdvalue (an outside value change is shown by the editor)mre
- 5d8d2c67tests: wait for hydration before real clicks after a navigation (H2)mre
- 99db79f0re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
- 30353f60tests: e2e-md-showcase Chrome range from LAYOUTS_GATE_CHROME_MD, default unchangedmre
- 16a7878cre-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
- 6af559e8docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre