gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit31e40b8b31e40b8bMerge dm3-media: range handling in the layouts media routemre31e40b8b/reports/005-sync-components.md

3.4 KB

  1. # Mission 005 — showcase synced to components.hybriel 9db927d (worker Z, branch wv)
  2. ## What changed
  3. - `tools/sync-components.sh 9db927d`: FILES gained `comments/comments.hl + README` and `files-upload/files-upload.hl + README` (21 files now).
  4. Copied byte-verbatim (`--check`: "verbatim: 21 files = components.hybriel 9db927d"). Changed copies: md-editor (readonly, CR fix), pagination (onPage). No demo.hl copied, no copy edited.
  5. - New showcase pages (Hybriel, no JS): `/components/comments` (`components/showcase/comments.hl`, mock thread in `lib/comments.hl`, user switch alice / bob / nobody, "The page was told" line) and
  6. `/components/files-upload` (`components/showcase/files-upload.hl`, face `uploadFile` stores nothing). Routes + README routes in project.hl, entries in `lib/site.hl`, page-root display rules in `components/styles.hl`.
  7. - Pagination page hands `onPage` and shows "The page was told: page N"; md-editor page got a "Read only" section (`readonly = "true"`).
  8. - Theme: `html files-upload drop-zone/label.choose` radii (the component's own .5rem/.35rem broke the 5/10px rule); `.check-theme-ignore` + comments/, files-upload/. Comments needed no theme rule (its radii are `var(--radius-*)`, avatar 50%).
  9. - Gate (`tests/browser.mjs`) extended: 22 pages (was 20), 390 no-sideways on comments/files-upload/pagination, plus ~23 new checks (below).
  10. ## Gate numbers (old 0d0fef2/64d635a → new)
  11. | gate | old | new |
  12. |---|---|---|
  13. | tests/browser.mjs | 76 passed / 0 failed | 99 passed / 0 failed |
  14. | check-theme | 0 problems (36 files) | 0 problems (38 files) |
  15. | sync-components --check | ok (17 files, a567b57) | ok (21 files, 9db927d) |
  16. | letcount | never reassigned 0 | 0 |
  17. The new gate on the OLD tree (copy in scratch/oldtree) fails: both new routes 404 and it aborts at /components/comments — the new checks can fail.
  18. Two intermediate runs of mine failed (93/6, 98/1): files-upload radii (fixed by the theme rule), and three timing races in my own checks (wait for the page's told/redraw) — not product bugs.
  19. ## New checks (all real input via CDP)
  20. pagination: real click on 4 → "page 4", Next → a different page. md-editor readonly: h1/bold/2 list items drawn, not editable, toolbar not shown. comments: "3 comments", texts drawn as Markdown, readonly not editable;
  21. Edit/Delete only on the user's own (alice, bob, nobody → no form + sign-in text); like click → ♥ 3 pressed + told "like c1"; typing `Hello **world** by keys` (bold forms) + Ctrl+Enter posts → 4 comments, form empty;
  22. Edit (End, type, Save) → text changed + "edited"; Delete asks, Delete again removes; frames (bubble/post button none, avatar 50%). files-upload: dashed zone, choose button borderless, input multiple; a real Chrome drag-and-drop
  23. of 3 files (a.txt, b.txt, 1.5 MB c.bin) → 3 rows in order, all Uploaded, "3 of 3"; choosing 2 more through the file input → "5 of 5". Corner-radius sweep covers both new pages.
  24. ## Screenshots
  25. Gate shots at 1280 (viewport) and 390 plus full-page 390/1280 of the new pages are in /media/STORAGE/claude-scratch/atlas/Z/shots/ (comments, files-upload, pagination, md-editor readonly).
  26. **I cannot view images with the tools I had (shell + web search only), so I did NOT look at them.** What I checked instead is by DOM/computed style: no sideways scroll at 390 on all three pages, computed frames/radii as listed above,
  27. readonly md-editor background transparent / radius 0 / toolbar display none. A human eye on shots/ is still needed.
  28. ## Hybriel gaps
  29. None hit. Not run: tests/same-output (not in the brief). Not deployed.

Branches

Latest commits

  • 31e40b8bMerge dm3-media: range handling in the layouts media routemre
  • 856dcacbLayouts media route: read suffix ranges and ignore range lists and garbage, like the components route (the layouts copy still answered 416 for the last bytes)mre
  • ad5056eaMerge dm3-sync: components re-sync to c2834ddmre
  • 740e2abeRe-sync the components copy to c2834dd: media player fixes (state after a queue pick, cover-less audio, accessibility labels)mre
  • 7fe103bbMerge mp-player: the media player showcase pagemre
  • 7db43c4eMedia route: serve the showcase's media from committed files (storage/ is not in git)mre
  • f77b7d12Media player: re-sync components from 1c41293 (replay / forward 10 icons, play button surface on audio and video)mre
  • 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