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
- 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
- 769b99d7theme: table cells keep a word whole, code in a title stays text-sized, 'edited' is a 44 px tap target on the phonemre
- c36b7595list rows (notes, mail) stack their parts full width: the date no longer a one-letter column beside the titlemre
- 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