gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitbb2f29c9bb2f29c9app-header: format Style with nested rules and bare mediamrebb2f29c9/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

  • bb2f29c9app-header: format Style with nested rules and bare mediamre
  • 3aca2d7fSync components from 8176eb1 with reviewed nested stylesmre
  • 87e4003dRe-vendor layouts to Hybriel set day35mre
  • d8628cfflayouts: a startup error prints its message before exit 1 (hybriel#247)mre
  • 180fd76elayouts: MdEditor from components 59704ce (text on the clipboard always pastes, a file manager copy still attaches; pipe rows; empty Table-button table; tickets#49, notes#5)mre
  • a3eda8afRe-vendor Hybriel master 7a684920 (binary 74ab3715): plugins whole, startup fault exits 1; files-upload gate 340/0mre
  • 025d5880WIP re-vendor Hybriel set-day27b (a9712e61, master f5ff97bf): plugins whole, startup fault exits 1; NOT deployable: files-upload emit refused (see .scratch/rv27-upload)mre
  • 42183a71Merge sb3-standby: layouts deploys through its standbymre
  • 408de1f2layouts: no jobs switch needed in the standbymre
  • 0b85f57elayouts: a standby container (port 45019, profile standby); deploy hands over through standby-swap.sh without a gapmre
  • 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