layouts
All repositories: gitoria
10.2 KB
# Status — layouts.worldapi.org## 2026-10-21 — mission 010: sync to components.hybriel 3794c59 (report reports/010-sync-3794c59.md)**Done** (branch w10-sync-3794c59 from 76f99f6, not merged, not deployed): 21 verbatim files = 3794c59 (only MdEditor changed); docs/usage.md; real-key check on /components/md-editor (table after a list, Ctrl+K link, code block in/out).**Tested**: gate 300/0 → 306/0, check-theme 0, display audit ok; new checks fail on the old copy (lisbeth 2 ok / 4 FAIL); real Chrome lisbeth 9223 6/0 at 390 and 1280. Shots in G4/shots (not viewed). **Open**: apps re-copy (notes, tickets carry 1442e58).## 2026-10-21 — mission 009: menu marks the current page (report reports/009-menu-current.md)**Done** (branch w9-menu-current, not merged/deployed): marker beyond colour in MainMenu + sidebar nav, `count` badge and `current = true` per item, docs. **Tested**: gate 300/0 (old theme 293/7), check-theme 0. **Open**: E2E in lisbeth's real Chrome not run; apps re-copy (gitoria, tickets, notes, calendar).## 2026-10-20 — mission 008: sync to components.hybriel 1442e58 (report reports/008-sync-components-1442e58.md)**Done** (branch w8-sync-components from dbe3de7, not merged, not deployed): 21 verbatim files = 1442e58; pages: new /components/files-upload-pick (pick mode, host owns the list), comments with attach + files, md-editor rows=1 + files="off"; theme radii for pick-area / camera / thumb / ✕.**Tested**: gate 244/0 → 285/0, check-theme 0, sync --check ok, display audit 0 issues; new checks fail on the old copy (server will not start: no member `attach`); real Chrome on lisbeth 9223, 24/24 at 390 and 1280. Shots in S2/shots (not viewed). No Hybriel gap.## 2026-10-20 — mission 006: tap sizes ≥ 44 px, mobile first (report reports/006-tap-sizes.md)**Done** (branch w6-tap-sizes, not merged, not deployed): theme token layoutTap 2.75rem; buttons, header icons, brand, menu items, list links, fields (16 px) at 44; desktop denser only in @media 60rem.**Tested**: 390 px DOM audit 1358 → 0 targets < 44 (82 audits, 22 pages + open states), none wider than 390; gate 99/0 → 132/0; the 33 new checks fail on the old theme (98/34).**Open**: re-copy into apps (next mission): gitoria overrides to remove and tracker's own small buttons listed in the report; creator's acceptance.## 2026-10-20 — mission 005: sync to components.hybriel 9db927d (report reports/005-sync-components.md)**Done** (git wv, not merged, not deployed): 21 verbatim files; new pages /components/comments and /components/files-upload; pagination onPage + md-editor readonly shown; theme radii for files-upload.**Tested**: gate 76/0 → 99/0 (new checks with real clicks, keys, file drop), check-theme 0, sync --check ok, letcount 0. Screenshots made (Z/shots) but not looked at. No Hybriel gap.## 2026-10-20 — mission 004: Hybriel re-vendored to 0f396652 (report reports/004-revendor-0f396652.md)**Done** (git wv, not merged, not deployed): bin/ + plugins/ = shared static build 0f396652; compose: `hybriel-cache` volume, HL_CACHE_DIR, tmpfs /tmp;gates wait 120 s. **Tested**: browser gate 76/0 old and new, check-theme 0, letcount 0, same-output 71/71 DOM identical, only compiler output + `/__hl/up` + seedroute-list shape differ. No real data exists (backup dir empty; app has no storage). No Hybriel gap.## 2026-10-04 — mission 003: two corner radii only (report reports/003-two-radii.md)**Done** (git main, not pushed, not deployed): theme tokens `radiusSmall` 5px / `radiusLarge` 10px (`--radius-small/-large`);`layoutRadius` (`--layout-radius`) is GONE. Small: buttons, fields, pills, code, menu/sidebar/list links, day cells of the pickers,all component buttons/inputs. Large: pre, details, drop zones, user-menu popover, three-pane action strip, modal window, pickerpopups, month-view day tiles, md-editor (+ toolbar top corners, article pre/img), code-editor. 50% only for the accent swatches.The 8 verbatim components keep their own radii in their files; theme.hl section 3 overrides every one (html-prefixed rules).check-theme.mjs section 3 flags any other radius (hl `borderRadius…` / css `border-radius…`; allowed radiusSmall, radiusLarge,var(--radius-small|large[, fallback]), 0, 50%).**Tested**: gate 76/0 (new: check-theme radius fixture, computed radii of every element on all 20 pages ∈ {0,5px,10px,50%},5px/10px on button/field/pill/menu link/details/drop zone); negative test: one '.3rem' in theme.hl → both check-theme andthe computed sweep fail (md-editor code 4.8px). check-theme 0, sync-components --check ok. Screenshots 390/1280 looked at(`.scratch/gate-shots/`, `.scratch/shots/`).**Tracker re-vendor**: its components/styles.hl gets 18 check-theme findings (incl. `var(--layout-radius)`, which no longerexists) — see the report.## 2026-10-04 — components.hybriel mission 003 (#15 black/white base): components re-synced to 5a98d77**Done** (git main, not pushed, not deployed): `tools/sync-components.sh 5a98d77` — the 8 components now fall back to black/white/greys(no WorldAPI palette) and draw no decorative frames; token NAMES, elements and classes unchanged, so the theme (which declares every`--color-…` token and sets the frames to 0 itself) styles them exactly as before. md-editor.hl also drops Chrome's inline `style` afteran inline format. No change in theme/ or the showcase.**Tested**: gate 73/0, check-theme 0 (ports 8750–8759). Pixel diff (magick compare -metric AE) of the 19 gate screenshots + 26 full-pageshots (`tools/shots.mjs` of /, /elements, /components, the 8 component pages, 2 shells at 390/1280) old (3f93d71) vs new: all 0 pixels,except gate-1280-modal-open: max 1/255 on a few backdrop pixels (AE 0 at 0.5 % fuzz) = rendering noise. Shots: `.scratch/w090/`.**Lesson**: the theme covers the components fully only because it declares ALL tokens the components read (incl. `--orange`,`--green-light`, `--color-special` for the code editor) and overrides every border they used to draw — keep both when the theme changes.## 2026-10-03 — mission 002: components re-copied, code rules (report reports/002-recopy-components.md)**Done** (git main, not pushed, not deployed):- `components/<name>/` = byte-verbatim components.hybriel **3f93d71** (its code-order cleanup: 239 `let`s dropped, md-editorREADME one line), written by the new `tools/sync-components.sh`; `components/SOURCE` holds the commit;`tools/sync-components.sh --check` verifies (exit 1 + names on a difference).- Own code: `styles.hl` → `components/styles.hl` (only project.hl in the root), the one never-reassigned `let`(showcase/md-editor.hl `urls`) dropped; project.hl was already a map (no functions). letcount: 0 never reassigned.- Tools: tests/same-output.mjs (+ -compare.py, -modules.py, letcount.py from components.hybriel); tools/shots.mjs takes`LAYOUTS_GATE_CHROME`.**Tested**: gate 73/0 + check-theme 0 before and after (ports 8750/8751–8759); same output old vs new: 166/175 the same,the 9 differences = the 8 component browser modules (only `var` → `const`, 239) + the md-editor README; screenshots390/1280 looked at.**Open for the conductor**: deploy (rsync has no `--delete`: delete the root `styles.hl` on Byrodin by hand afterwards).## 2026-10-03 — rebuilt in Hybriel (antcolony mission 075, report reports/001-hybriel-theme.md)**Done** (Loreana dev folder, git, not deployed):- `theme/`: theme.hl (tokens + type slots + layout tokens, plain elements, borderless rules for all 8 components.hybrielcomponents), shell components AppHeader / MainMenu / UserMenu / Sidebar / ContentFirst / ListFirst / ThreePane,check-theme.mjs. Docs per layout in docs/layouts/, guide docs/using-the-theme.md.- Showcase: `/` `/elements` `/components[/<name>]` `/shells[/content-first[/:kind] | /list-first[/:id] | /three-pane[/:id]]``/docs[/…md]` `/search/:q`; accent switcher in the sidebar (localStorage).- Gate `node tests/browser.mjs` → **73 passed, 0 failed**; `node theme/check-theme.mjs .` → 0 problems.**Test** (how, what it proves): see README "Run, test, deploy". The gate starts its own server (8760) and headless Chrome(8761–8764), real CDP clicks/keys at 390 and 1280: overlay toggle → open (x=0, full height) → Esc / × / link closes;loupe → search field focused → Enter → /search/modal; user icon → dropdown (Settings, Logout last) → Esc; list-firstlist → item (list gone, back link) → back; three-pane list → folders overlay → item with actions; desktop: all panes side byside, header flush with the column (brand x = sidebar text x, user icon right = main right), computed borders `none` onthemed components and `dashed`/`solid` on drop zone/foldable, accent switcher purple → persists → reset, no sidewaysscroll on every page, no console errors. Screenshots `.scratch/gate-shots/` were looked at.**First deploy (conductor, Byrodin)** — nothing done by the worker:1. `docker stop layouts.worldapi.org` (old Vidoriel container, node:24-alpine, 127.0.0.1:44820); move the old folder aside(`mv /CONTAINERS/projects/layouts.worldapi.org /CONTAINERS/projects/layouts.worldapi.org.vidoriel-20261003`) and`mkdir` a fresh one — deploy.sh has no `--delete`, old files would otherwise stay.2. `./deploy.sh` on Loreana (gates: check-theme + browser) → container on 127.0.0.1:45009 (proposal: 45009 was free).3. nginx vhost: replace the static root + `.ssr.js` location with a proxy of `/` to 127.0.0.1:45009 incl. WebSocketUpgrade headers (like calendar/components); `nginx -t`, reload. Cert exists (expires 2026-10-16, certbot renews).4. Check https://layouts.worldapi.org/ 200 and in a browser; Cloudflare caches CSS long (STATUS 2026-07-18) — hl:web useshashed URLs (`/__hl/app.css?v=…`), so a new build is a new URL.**Open**: creator's acceptance (nothing is accepted until confirmed); questions in the report; apps not migrated yet(tracker#32 waits for this theme).## 2026-10-20 mission 007 (display bugs, ticket #1 reopened)Branch w7-display-bugs: Settings/Docs links no longer open raw Markdown (/settings, /read/:doc); closed phone search no longer floats over /elements; three-pane Delete contrast; gate 244/0. Shared theme changed: apps re-copy. Not deployed; creator to look at shots. reports/007-display-bugs.md- 009 menu current: E2E real Chrome done 33/0 (D4), branch w9-menu-current ready for Atlas
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