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
- 02aa74aasync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre
- 268b1c87sync components.hybriel 6b0936a: the 'edited' foldable drops the theme's border and marginmre
- c51d039fsync components.hybriel 8d79ff7: bubble hugs its content, quiet 'edited' label; gate checksmre
- f4ad7eecsync components 9a: shared Icon (icons/icons.hl), md-editor toolbar icons + single focus ring (components f4-icons ba96735)mre
- db258c11sync-components: copy icons/icons.hl + README (F4); testsmre
- badc1879md-editor.hl: verbatim copy of components f3-mdvalue (an older text handed back is kept)mre
- 867a8375md-editor.hl: verbatim copy of components f3-mdvalue (an outside value change is shown by the editor)mre
- 5d8d2c67tests: wait for hydration before real clicks after a navigation (H2)mre
- 99db79f0re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
- 30353f60tests: e2e-md-showcase Chrome range from LAYOUTS_GATE_CHROME_MD, default unchangedmre
- 16a7878cre-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
- 6af559e8docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
- 5599cf56deploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
- 0bcc6294Mission 011: e2e-197, brief, report, LOGmre
- 137303c5MainMenu marks the current page from the route (hybriel#197, server-rendered); current prop/item.current stay as fallback; tracker demo drops current; gate: SSR marker; docsmre
- 9325b403Re-vendor Hybriel to master 7f13a82f (hl:web batch 2: #190 #193 #197 #194 named regions); plugins whole, bin/hybriel static build (git-ignored)mre
- b31dc74dusage: calendar (theme 76f99f6-era ContentFirst, user menu, ☰ menu) and tracker (theme 76f99f6, modal + pagination current, own current marker until hybriel#197) rowsmre
- 8a3d5d40Mission 010: brief, report, LOG, STATUSmre
- a56abf1fSync components to components.hybriel 3794c59 (MdEditor real-key fixes); showcase real-key check on the md-editor pagemre
- 76f99f64E2E in lisbeth's Chrome for the menu's current page (mission 009): tests/e2e-menu-current.mjs, reportmre