gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit02aa74aa02aa74aasync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre02aa74aa/reports/011-revendor-197.md

3.2 KB

  1. # Report 011 — re-vendor 7f13a82f + MainMenu from the route (#197) — worker L6, branch w11-revendor-197 (NOT merged, NOT deployed)
  2. ## Step 1 — re-vendor (commit 9325b40)
  3. - 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.
  4. - 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.
  5. ## Step 2 — MainMenu from the route
  6. - 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.
  7. - components/demo/tracker-demo.hl no longer passes `current` to MainMenu (Series on the all-titles page stays via the item flag).
  8. - 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.
  9. - docs: docs/usage.md section + docs/layouts/main-menu.md.
  10. ## 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)
  11. - 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.
  12. - 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).
  13. - 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.
  14. - Not covered: the "no flicker" is proven by the server HTML, not a frame capture. Tab left at about:blank.
  15. ## What apps must change (after re-copying theme/shell/main-menu.hl, needs Hybriel ≥ 7f13a82f)
  16. 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

  • 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
  • 5599cf56deploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • 0bcc6294Mission 011: e2e-197, brief, report, LOGmre
  • 137303c5MainMenu marks the current page from the route (hybriel#197, server-rendered); current prop/item.current stay as fallback; tracker demo drops current; gate: SSR marker; docsmre
  • 9325b403Re-vendor Hybriel to master 7f13a82f (hl:web batch 2: #190 #193 #197 #194 named regions); plugins whole, bin/hybriel static build (git-ignored)mre
  • b31dc74dusage: calendar (theme 76f99f6-era ContentFirst, user menu, ☰ menu) and tracker (theme 76f99f6, modal + pagination current, own current marker until hybriel#197) rowsmre
  • 8a3d5d40Mission 010: brief, report, LOG, STATUSmre
  • a56abf1fSync components to components.hybriel 3794c59 (MdEditor real-key fixes); showcase real-key check on the md-editor pagemre
  • 76f99f64E2E in lisbeth's Chrome for the menu's current page (mission 009): tests/e2e-menu-current.mjs, reportmre