gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit635234df635234dfcomponents re-synced to components.hybriel 5a98d77 (#15 black/white base look); gate 73/0, check-theme 0, screenshots unchangedmre635234df/STATUS.md

5.0 KB

  1. # Status — layouts.worldapi.org
  2. ## 2026-10-04 — components.hybriel mission 003 (#15 black/white base): components re-synced to 5a98d77
  3. **Done** (git main, not pushed, not deployed): `tools/sync-components.sh 5a98d77` — the 8 components now fall back to black/white/greys
  4. (no WorldAPI palette) and draw no decorative frames; token NAMES, elements and classes unchanged, so the theme (which declares every
  5. `--color-…` token and sets the frames to 0 itself) styles them exactly as before. md-editor.hl also drops Chrome's inline `style` after
  6. an inline format. No change in theme/ or the showcase.
  7. **Tested**: gate 73/0, check-theme 0 (ports 8750–8759). Pixel diff (magick compare -metric AE) of the 19 gate screenshots + 26 full-page
  8. shots (`tools/shots.mjs` of /, /elements, /components, the 8 component pages, 2 shells at 390/1280) old (3f93d71) vs new: all 0 pixels,
  9. except gate-1280-modal-open: max 1/255 on a few backdrop pixels (AE 0 at 0.5 % fuzz) = rendering noise. Shots: `.scratch/w090/`.
  10. **Lesson**: the theme covers the components fully only because it declares ALL tokens the components read (incl. `--orange`,
  11. `--green-light`, `--color-special` for the code editor) and overrides every border they used to draw — keep both when the theme changes.
  12. ## 2026-10-03 — mission 002: components re-copied, code rules (report reports/002-recopy-components.md)
  13. **Done** (git main, not pushed, not deployed):
  14. - `components/<name>/` = byte-verbatim components.hybriel **3f93d71** (its code-order cleanup: 239 `let`s dropped, md-editor
  15. README one line), written by the new `tools/sync-components.sh`; `components/SOURCE` holds the commit;
  16. `tools/sync-components.sh --check` verifies (exit 1 + names on a difference).
  17. - Own code: `styles.hl` → `components/styles.hl` (only project.hl in the root), the one never-reassigned `let`
  18. (showcase/md-editor.hl `urls`) dropped; project.hl was already a map (no functions). letcount: 0 never reassigned.
  19. - Tools: tests/same-output.mjs (+ -compare.py, -modules.py, letcount.py from components.hybriel); tools/shots.mjs takes
  20. `LAYOUTS_GATE_CHROME`.
  21. **Tested**: gate 73/0 + check-theme 0 before and after (ports 8750/8751–8759); same output old vs new: 166/175 the same,
  22. the 9 differences = the 8 component browser modules (only `var` → `const`, 239) + the md-editor README; screenshots
  23. 390/1280 looked at.
  24. **Open for the conductor**: deploy (rsync has no `--delete`: delete the root `styles.hl` on Byrodin by hand afterwards).
  25. ## 2026-10-03 — rebuilt in Hybriel (antcolony mission 075, report reports/001-hybriel-theme.md)
  26. **Done** (Loreana dev folder, git, not deployed):
  27. - `theme/`: theme.hl (tokens + type slots + layout tokens, plain elements, borderless rules for all 8 components.hybriel
  28. components), shell components AppHeader / MainMenu / UserMenu / Sidebar / ContentFirst / ListFirst / ThreePane,
  29. check-theme.mjs. Docs per layout in docs/layouts/, guide docs/using-the-theme.md.
  30. - Showcase: `/` `/elements` `/components[/<name>]` `/shells[/content-first[/:kind] | /list-first[/:id] | /three-pane[/:id]]`
  31. `/docs[/…md]` `/search/:q`; accent switcher in the sidebar (localStorage).
  32. - Gate `node tests/browser.mjs` → **73 passed, 0 failed**; `node theme/check-theme.mjs .` → 0 problems.
  33. **Test** (how, what it proves): see README "Run, test, deploy". The gate starts its own server (8760) and headless Chrome
  34. (8761–8764), real CDP clicks/keys at 390 and 1280: overlay toggle → open (x=0, full height) → Esc / × / link closes;
  35. loupe → search field focused → Enter → /search/modal; user icon → dropdown (Settings, Logout last) → Esc; list-first
  36. list → item (list gone, back link) → back; three-pane list → folders overlay → item with actions; desktop: all panes side by
  37. side, header flush with the column (brand x = sidebar text x, user icon right = main right), computed borders `none` on
  38. themed components and `dashed`/`solid` on drop zone/foldable, accent switcher purple → persists → reset, no sideways
  39. scroll on every page, no console errors. Screenshots `.scratch/gate-shots/` were looked at.
  40. **First deploy (conductor, Byrodin)** — nothing done by the worker:
  41. 1. `docker stop layouts.worldapi.org` (old Vidoriel container, node:24-alpine, 127.0.0.1:44820); move the old folder aside
  42. (`mv /CONTAINERS/projects/layouts.worldapi.org /CONTAINERS/projects/layouts.worldapi.org.vidoriel-20261003`) and
  43. `mkdir` a fresh one — deploy.sh has no `--delete`, old files would otherwise stay.
  44. 2. `./deploy.sh` on Loreana (gates: check-theme + browser) → container on 127.0.0.1:45009 (proposal: 45009 was free).
  45. 3. nginx vhost: replace the static root + `.ssr.js` location with a proxy of `/` to 127.0.0.1:45009 incl. WebSocket
  46. Upgrade headers (like calendar/components); `nginx -t`, reload. Cert exists (expires 2026-10-16, certbot renews).
  47. 4. Check https://layouts.worldapi.org/ 200 and in a browser; Cloudflare caches CSS long (STATUS 2026-07-18) — hl:web uses
  48. hashed URLs (`/__hl/app.css?v=…`), so a new build is a new URL.
  49. **Open**: creator's acceptance (nothing is accepted until confirmed); questions in the report; apps not migrated yet
  50. (tracker#32 waits for this theme).

Branches

Latest commits

  • 635234dfcomponents re-synced to components.hybriel 5a98d77 (#15 black/white base look); gate 73/0, check-theme 0, screenshots unchangedmre
  • 876b2064docs: workaround note for hybriel#130 (slot marker mid-line)mre
  • 85b56541layouts mission 002 3/3: same-output tests, letcount, shots ports, docs, reportmre
  • 0f325d3blayouts mission 002 2/3: code rules — styles.hl -> components/styles.hl, the one never-reassigned let dropped; gate 73/0, same outputmre
  • a3e74c8alayouts mission 002 1/3: components re-copied byte-verbatim from components.hybriel 3f93d71 by tools/sync-components.sh (+ --check, components/SOURCE); gate 73/0, check-theme 0mre
  • 80ce6ba9report 001 (mission 075)mre
  • 5c6e338flayouts.worldapi.org in Hybriel: WorldAPI theme (tokens, borderless elements, themed components.hybriel components), shells (header, main/user menu, sidebar overlay, content-first, list-first, three-pane), showcase, check-theme helper; gate 73/0 (mission 075)mre