gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit78478f6e78478f6eSync showcase to components.hybriel 1442e58: pick-mode page, comments attach, md-editor rows/files off; gates 285/0mre78478f6e/STATUS.md

9.1 KB

  1. # Status — layouts.worldapi.org
  2. ## 2026-10-20 — mission 008: sync to components.hybriel 1442e58 (report reports/008-sync-components-1442e58.md)
  3. **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 / ✕.
  4. **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.
  5. ## 2026-10-20 — mission 006: tap sizes ≥ 44 px, mobile first (report reports/006-tap-sizes.md)
  6. **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.
  7. **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).
  8. **Open**: re-copy into apps (next mission): gitoria overrides to remove and tracker's own small buttons listed in the report; creator's acceptance.
  9. ## 2026-10-20 — mission 005: sync to components.hybriel 9db927d (report reports/005-sync-components.md)
  10. **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.
  11. **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.
  12. ## 2026-10-20 — mission 004: Hybriel re-vendored to 0f396652 (report reports/004-revendor-0f396652.md)
  13. **Done** (git wv, not merged, not deployed): bin/ + plugins/ = shared static build 0f396652; compose: `hybriel-cache` volume, HL_CACHE_DIR, tmpfs /tmp;
  14. 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` + seed
  15. route-list shape differ. No real data exists (backup dir empty; app has no storage). No Hybriel gap.
  16. ## 2026-10-04 — mission 003: two corner radii only (report reports/003-two-radii.md)
  17. **Done** (git main, not pushed, not deployed): theme tokens `radiusSmall` 5px / `radiusLarge` 10px (`--radius-small/-large`);
  18. `layoutRadius` (`--layout-radius`) is GONE. Small: buttons, fields, pills, code, menu/sidebar/list links, day cells of the pickers,
  19. all component buttons/inputs. Large: pre, details, drop zones, user-menu popover, three-pane action strip, modal window, picker
  20. popups, month-view day tiles, md-editor (+ toolbar top corners, article pre/img), code-editor. 50% only for the accent swatches.
  21. The 8 verbatim components keep their own radii in their files; theme.hl section 3 overrides every one (html-prefixed rules).
  22. check-theme.mjs section 3 flags any other radius (hl `borderRadius…` / css `border-radius…`; allowed radiusSmall, radiusLarge,
  23. var(--radius-small|large[, fallback]), 0, 50%).
  24. **Tested**: gate 76/0 (new: check-theme radius fixture, computed radii of every element on all 20 pages ∈ {0,5px,10px,50%},
  25. 5px/10px on button/field/pill/menu link/details/drop zone); negative test: one '.3rem' in theme.hl → both check-theme and
  26. the computed sweep fail (md-editor code 4.8px). check-theme 0, sync-components --check ok. Screenshots 390/1280 looked at
  27. (`.scratch/gate-shots/`, `.scratch/shots/`).
  28. **Tracker re-vendor**: its components/styles.hl gets 18 check-theme findings (incl. `var(--layout-radius)`, which no longer
  29. exists) — see the report.
  30. ## 2026-10-04 — components.hybriel mission 003 (#15 black/white base): components re-synced to 5a98d77
  31. **Done** (git main, not pushed, not deployed): `tools/sync-components.sh 5a98d77` — the 8 components now fall back to black/white/greys
  32. (no WorldAPI palette) and draw no decorative frames; token NAMES, elements and classes unchanged, so the theme (which declares every
  33. `--color-…` token and sets the frames to 0 itself) styles them exactly as before. md-editor.hl also drops Chrome's inline `style` after
  34. an inline format. No change in theme/ or the showcase.
  35. **Tested**: gate 73/0, check-theme 0 (ports 8750–8759). Pixel diff (magick compare -metric AE) of the 19 gate screenshots + 26 full-page
  36. shots (`tools/shots.mjs` of /, /elements, /components, the 8 component pages, 2 shells at 390/1280) old (3f93d71) vs new: all 0 pixels,
  37. except gate-1280-modal-open: max 1/255 on a few backdrop pixels (AE 0 at 0.5 % fuzz) = rendering noise. Shots: `.scratch/w090/`.
  38. **Lesson**: the theme covers the components fully only because it declares ALL tokens the components read (incl. `--orange`,
  39. `--green-light`, `--color-special` for the code editor) and overrides every border they used to draw — keep both when the theme changes.
  40. ## 2026-10-03 — mission 002: components re-copied, code rules (report reports/002-recopy-components.md)
  41. **Done** (git main, not pushed, not deployed):
  42. - `components/<name>/` = byte-verbatim components.hybriel **3f93d71** (its code-order cleanup: 239 `let`s dropped, md-editor
  43. README one line), written by the new `tools/sync-components.sh`; `components/SOURCE` holds the commit;
  44. `tools/sync-components.sh --check` verifies (exit 1 + names on a difference).
  45. - Own code: `styles.hl` → `components/styles.hl` (only project.hl in the root), the one never-reassigned `let`
  46. (showcase/md-editor.hl `urls`) dropped; project.hl was already a map (no functions). letcount: 0 never reassigned.
  47. - Tools: tests/same-output.mjs (+ -compare.py, -modules.py, letcount.py from components.hybriel); tools/shots.mjs takes
  48. `LAYOUTS_GATE_CHROME`.
  49. **Tested**: gate 73/0 + check-theme 0 before and after (ports 8750/8751–8759); same output old vs new: 166/175 the same,
  50. the 9 differences = the 8 component browser modules (only `var` → `const`, 239) + the md-editor README; screenshots
  51. 390/1280 looked at.
  52. **Open for the conductor**: deploy (rsync has no `--delete`: delete the root `styles.hl` on Byrodin by hand afterwards).
  53. ## 2026-10-03 — rebuilt in Hybriel (antcolony mission 075, report reports/001-hybriel-theme.md)
  54. **Done** (Loreana dev folder, git, not deployed):
  55. - `theme/`: theme.hl (tokens + type slots + layout tokens, plain elements, borderless rules for all 8 components.hybriel
  56. components), shell components AppHeader / MainMenu / UserMenu / Sidebar / ContentFirst / ListFirst / ThreePane,
  57. check-theme.mjs. Docs per layout in docs/layouts/, guide docs/using-the-theme.md.
  58. - Showcase: `/` `/elements` `/components[/<name>]` `/shells[/content-first[/:kind] | /list-first[/:id] | /three-pane[/:id]]`
  59. `/docs[/…md]` `/search/:q`; accent switcher in the sidebar (localStorage).
  60. - Gate `node tests/browser.mjs` → **73 passed, 0 failed**; `node theme/check-theme.mjs .` → 0 problems.
  61. **Test** (how, what it proves): see README "Run, test, deploy". The gate starts its own server (8760) and headless Chrome
  62. (8761–8764), real CDP clicks/keys at 390 and 1280: overlay toggle → open (x=0, full height) → Esc / × / link closes;
  63. loupe → search field focused → Enter → /search/modal; user icon → dropdown (Settings, Logout last) → Esc; list-first
  64. list → item (list gone, back link) → back; three-pane list → folders overlay → item with actions; desktop: all panes side by
  65. side, header flush with the column (brand x = sidebar text x, user icon right = main right), computed borders `none` on
  66. themed components and `dashed`/`solid` on drop zone/foldable, accent switcher purple → persists → reset, no sideways
  67. scroll on every page, no console errors. Screenshots `.scratch/gate-shots/` were looked at.
  68. **First deploy (conductor, Byrodin)** — nothing done by the worker:
  69. 1. `docker stop layouts.worldapi.org` (old Vidoriel container, node:24-alpine, 127.0.0.1:44820); move the old folder aside
  70. (`mv /CONTAINERS/projects/layouts.worldapi.org /CONTAINERS/projects/layouts.worldapi.org.vidoriel-20261003`) and
  71. `mkdir` a fresh one — deploy.sh has no `--delete`, old files would otherwise stay.
  72. 2. `./deploy.sh` on Loreana (gates: check-theme + browser) → container on 127.0.0.1:45009 (proposal: 45009 was free).
  73. 3. nginx vhost: replace the static root + `.ssr.js` location with a proxy of `/` to 127.0.0.1:45009 incl. WebSocket
  74. Upgrade headers (like calendar/components); `nginx -t`, reload. Cert exists (expires 2026-10-16, certbot renews).
  75. 4. Check https://layouts.worldapi.org/ 200 and in a browser; Cloudflare caches CSS long (STATUS 2026-07-18) — hl:web uses
  76. hashed URLs (`/__hl/app.css?v=…`), so a new build is a new URL.
  77. **Open**: creator's acceptance (nothing is accepted until confirmed); questions in the report; apps not migrated yet
  78. (tracker#32 waits for this theme).
  79. ## 2026-10-20 mission 007 (display bugs, ticket #1 reopened)
  80. 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

Branches

Latest commits

  • 78478f6eSync showcase to components.hybriel 1442e58: pick-mode page, comments attach, md-editor rows/files off; gates 285/0mre
  • dbe3de79Display bugs from a real Chrome walk (mission 007): Settings page and in-shell doc reader instead of raw .md links, closed phone search hidden whatever a page says, /elements form rules scoped, three-pane danger contrast; display audit gate (132 -> 244 checks), walk + Settings e2e toolsmre
  • 1875a051Theme: 44 px tap targets mobile first (layoutTap), 16 px fields, desktop denser only in @media 60rem; 390 px tap audit + gate checks (mission 006)mre
  • 3d4f8e19Sync showcase to components.hybriel 9db927d: comments and files-upload pages, pagination onPage, md-editor readonly, gate 99 checksmre
  • 64d635acmission brief 005mre
  • 0d0fef25paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • 2dbe0df5Re-vendor Hybriel to the shared static build 0f396652 (plugins; bin/ is git-ignored), compose cache volume + tmpfs /tmp, gate wait 120 s, report 004mre
  • 0adc551emission brief 004mre
  • 1376e905deploy.sh: wait up to DEPLOY_URL_WAIT (120 s) for 200 after the restart, as the other apps (cold compile, hybriel#148)mre
  • c0fdbf6cdocker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
  • ecf70665usage: layouts on components a567b57mre
  • 315731efcomponents re-synced to components.hybriel a567b57 (md-editor tables)mre
  • b59e2ee9docs/usage.md + tools/usage.sh: which app carries which component/theme/tokens copy, and whether it matches the sourcemre
  • 0222f67ctheme: two corner radii only (radiusSmall 5px, radiusLarge 10px); check-theme flags any other radius; gate 76/0mre
  • 877b63acdesign rules: two radii only (5px small, 10px large)mre
  • 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