layouts
All repositories: gitoria
3.4 KB
# Mission 005 — showcase synced to components.hybriel 9db927d (worker Z, branch wv)## What changed- `tools/sync-components.sh 9db927d`: FILES gained `comments/comments.hl + README` and `files-upload/files-upload.hl + README` (21 files now).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.- 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`/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`.- Pagination page hands `onPage` and shows "The page was told: page N"; md-editor page got a "Read only" section (`readonly = "true"`).- 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%).- Gate (`tests/browser.mjs`) extended: 22 pages (was 20), 390 no-sideways on comments/files-upload/pagination, plus ~23 new checks (below).## Gate numbers (old 0d0fef2/64d635a → new)| gate | old | new ||---|---|---|| tests/browser.mjs | 76 passed / 0 failed | 99 passed / 0 failed || check-theme | 0 problems (36 files) | 0 problems (38 files) || sync-components --check | ok (17 files, a567b57) | ok (21 files, 9db927d) || letcount | never reassigned 0 | 0 |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.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.## New checks (all real input via CDP)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;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;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-dropof 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.## ScreenshotsGate 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).**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,readonly md-editor background transparent / radius 0 / toolbar display none. A human eye on shots/ is still needed.## Hybriel gapsNone hit. Not run: tests/same-output (not in the brief). Not deployed.
Branches
Latest commits
- cf9648afhome: format Style with nested rules and bare mediamre
- 846a6242user-menu: format Style with nested rules and bare mediamre
- 4d58708cthree-pane: format Style with nested rules and bare mediamre
- 0bbfc553main-menu: format Style with nested rules and bare mediamre
- 7755199dlist-first: format Style with nested rules and bare mediamre
- 35199303content-first: format Style with nested rules and bare mediamre
- 00f6e698app-sidebar: format Style with nested rules and bare mediamre
- 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