layouts
All repositories: gitoria
3.2 KB
# Report 011 — re-vendor 7f13a82f + MainMenu from the route (#197) — worker L6, branch w11-revendor-197 (NOT merged, NOT deployed)## Step 1 — re-vendor (commit 9325b40)- bin/hybriel = hybriel master native/zig-out/bin/hybriel (static, built 12:57 on 7f13a82f), sha256 ba2a55f93ea2c1dcb8da15679d2671b28e0eefcec6ae7714f2c388953bda5d17 (was 60fa02f3…, bin/ is git-ignored). plugins core crypto data fetch fs http http1 mpackdb proc time web replaced whole (commit holds them); hybriel#34 patch is upstream.- Gates OLD (main b31dc74, old bin) vs NEW (re-vendor only; own cold HL_CACHE_DIR, ports 8700–8714): tests/browser.mjs **306 passed / 0 failed** both (logs atlas-evidence/L6/old-browser.log, new-browser.log); check-theme **43 files, 0 problems** both.## Step 2 — MainMenu from the route- theme/shell/main-menu.hl: declares `route = null`; `build(items, current, route)`: a non-empty `current` wins, else `route.path`; exact href or a page below it is marked (`a.current`, aria-current="page"). `item.current = true` and the count badge unchanged. A MainMenu NESTED in a page (header + phone sidebar of the tracker demo, no shell level of its own) gets the route — checked.- components/demo/tracker-demo.hl no longer passes `current` to MainMenu (Series on the all-titles page stays via the item flag).- Gate (tests/browser.mjs, 4 new checks): SSR HTML (plain fetch, no script) of /shells/content-first/{movie,genre,person} has both menus marked from the route; /shells/content-first marks Series. NEW 310 passed / 0 failed. OLD bin + new components: 141 passed, then ABORTS at the tracker menu check (marker missing, "Cannot read properties of null") = fails on old.- docs: docs/usage.md section + docs/layouts/main-menu.md.## Step 3 — E2E, lisbeth's Chrome (tests/e2e-197.mjs, tab = an existing about:blank tab, flock lisbeth.lock, real mouse clicks, reverse tunnel for 8700/8710)- NEW (8710): **11 ok / 0 FAIL** — SSR marker for 3 paths; 1280: hard load /genre marks Genres, real clicks People, Shows (badge 12 stays), browser Back follows, Series by flag; 390: phone menu Genres on load, tap Movies, tap People, marker moves each time.- OLD (8700, old bin with the new components): **1 ok / 10 FAIL** (no marker in SSR or after clicks; only the Series flag fallback works).- Shots (looked at): /media/STORAGE/claude-scratch/atlas-evidence/L6/e2e-{old,new}-{1280-1-genre,1280-2-person,390-1-genre,390-2-movie,390-3-person}.png. Old 1280 person: no accent/bar on People (only hover background); new: People accent text + bottom bar; new 390 movie: Movies with left bar, Shows badge 12.- Not covered: the "no flicker" is proven by the server HTML, not a frame capture. Tab left at about:blank.## What apps must change (after re-copying theme/shell/main-menu.hl, needs Hybriel ≥ 7f13a82f)tickets: drop the browser-side marker and `current`, `count = n` for Inbox. gitoria/notes: remove `current = true` / `current = "/x"` unless the route does not tell (/read/x under Docs). calendar: drop `current = …`. tracker: drop its own heading-type marker. Fallback `current` still works one more round. The layouts showcase's own SiteHeader/SiteSidebar pages still pass `current` (each page builds its own header, not a shared shell) — not changed.
Branches
Latest commits
- 40a9e69cMP: report, LOG linemre
- 5b5dbf0fMedia player: the component from components.hybriel dd003e5 (sync-components), the showcase page /components/media-player with a queue, its media files served with ranges (lib/media.hl), theme rules (the seek bar, the queue's current item, the radii), the page in the overview listsmre
- 9197159fTake components e54f83a: table lines and one-row desktop toolbar in the theme, Table button gates, a table in the md-editor demomre
- e6322a44UX: report and LOG linemre
- 58c2da6fUX: nav marker without bars; chat composer is one box (files-upload pick mode, showcase); comments state footer + closer reactions row; modal footer rule only for its own footer; gates for all of itmre
- 956f107async components.hybriel 4922f9c: 44 px targets in month-view, date-picker, range-picker, pagination, modal, comments; names follow <html lang> (English default), UTC weekday fix; gate: 390 px target checks, 'edited' hit-area padding; comments showcase 'You are' is a labelled group (SY)mre
- 49940371sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
- 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