components
All repositories: gitoria
4.7 KB
# MC — components.hybriel mobile-first audit (390×844 touch DPR 3, 1280×800)Branch mc-mobile (2 commits on main d1cc83e). Not merged, pushed or deployed. Data: copy of backup 20261023-1314 (deleted). Shots in /media/STORAGE/claude-scratch/atlas/MC/shots (before-* = old code, after-* = new; m = 390, d = 1280; audit JSON before-audit.json / after-audit.json).Real browser: a headless Chrome started on loreana (lisbeth's Chrome :9223 was not running, per the brief), killed by PID; no tabs left. Tools: /media/STORAGE/claude-scratch/atlas/MC/tools/{audit,dialogs}.mjs.Pages audited (12): / , month-view, date-picker, range-picker, pagination, md-editor, code-editor, file-upload, files-upload, files-upload/pick, modal, comments; dialogs/popups: 4 modals, date-picker and range-picker popups, comment edit, month next. First paint on all pages 48–284 ms (limit 2 s). No horizontal overflow, no input under 16 px, anywhere (old and new).| page | defect | before | after | fixed ||---|---|---|---|---|| all | brand link 191×28; tagline made the sticky header 2 lines | before-m-home | after-m-home | y (brand 44 px, tagline only ≥ 40rem) || / | component + README links 24 px high | before-m-home | after-m-home | y || all | site `button` 37 px (Send, md-editor demo, modal openers, files) | before-m-modal | after-m-modal | y (min-height 2.75rem) || month-view | ‹ › 35×37 | before-m-month-view | after-m-month-view | y || date-picker, range-picker | field 37 px; popup ‹ › and day cells ~34 px | before-m-datepicker-open, before-m-rangepicker-open | after-m-datepicker-open, after-m-rangepicker-open | y || pagination | page buttons 35 px | before-m-pagination | after-m-pagination | y ("…" is not a target) || modal | × 38 px, footer Cancel/Delete/Save 38 px | before-m-modal-confirm | after-m-modal-confirm | y || comments | like / Edit / Delete 28 px, "edited" label 19 px | before-m-comments, before-m-comments-edit | after-m-comments | y ("edited": invisible padding = hit area) || comments demo | "You are: alice bob nobody" read as three glued unlabeled buttons | before-m-comments | after-m-comments | y (role=group + aria-label, chosen one filled + aria-pressed, rest quiet, "now x" muted) || month-view / pickers | names German from the browser locale in month-view but English in the pickers on the same day (open item from ML) | — | gate "lang" | y: all three follow `<html lang>`, English when none || month-view / pickers | NEW: weekday header read "Tue Wed … Mon" in zones UTC+12…+14 (Intl formatted local, not UTC) | gate | gate | y (timeZone UTC) || date/range-picker demo | Send button flush under the field (ML) | not reproducible on this site (p margin 1em); in layouts the theme zeroes p | gate "Send … air" | made robust (.demo-send margin 1rem), y || md-editor | table wider than the editor (scrolls inside the editor by design, E2 reworked toolbar) | before-m-md-editor | — | n (intended, not touched) |## Gates (deploy.sh GATES = node tests/browser.mjs; ports 8821/8822, Chrome 8830–8839)- old code, old tests: 504 passed, 0 failed- old code, new tests: 529 passed, 26 failed (the 26 new checks fail: 13 per-page 44 px, header, popups, 4 modals, comments group/target, 2 lang, 4 Send/day-cell) — three existing checks were adapted on purpose: month title now in page language; "edited" label may carry hit-area padding- new code, new tests: 555 passed, 0 failed, three runs in a row (gate-final1..3.log)Browser tier is the only gate of the app (no other deploy gate).## Sync needed (copies are NOT synced by me)- layouts.worldapi.org/components: date-picker, range-picker, month-view, modal, pagination, comments (+ lib/comments.hl untouched) — all changed here; its showcase pages may need the .demo-send class.- calendar.worldapi.org/components/month-view/month-view.hl: language-from-page-lang + UTC names (calendar has its own events code around it).- tickets.worldapi.org/components/comments (and files-upload untouched): comments 44 px buttons + "edited" hit area.- tracker.worldapi.org/components/modal.hl, pagination.hl: own copies (check whether vendored from here) — same 44 px changes.- notes: only md-editor (untouched). gitoria, ident: none.- Apps with a theme (layouts) override component CSS: re-run their gates after syncing.## Open items- Lisbeth E2E not done: its Chrome :9223 was not running and must not be started; the same flows were driven in a headless Chrome (390 touch DPR 3 + 1280) on loreana.- Pages showing the German names: any app that wants German must set `<html lang="de">`; the site itself declares no lang (hl:web gap? no appLang setting found) — it stays English.- Date/range popup is 22rem wide and the field 18rem: intentional.- Month-view demo day cells are right-aligned numbers (design), fine.
Branches
Latest commits
- 42fefa4emodal: nest Style rules in the language's formmre
- 6fd953e3range-picker: nest Style rules in the language's formmre
- f661951ddate-picker: nest Style rules in the language's formmre
- 363577e6media-player: nest Style rules in the language's formmre
- 0b3fd8c9comments: nest Style rules in the language's formmre
- 67e043c8plugins/web/README.md from hybriel cb9e480dmre
- 519b56e9styles.hl: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 29f63d01md-editor: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 869f49c7files-upload: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- f60dab20month-view: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 5b3c349aRe-vendor to Hybriel set day35 (cb9e480d): plugins core and web sources, README vendoring notemre
- 3449b117components: a startup error prints its message before exit 1 (hybriel#247)mre
- 59704ce1Merge branch 'n5b-pipes'mre
- 23b9164aMdEditor: a clipboard whose text is only the names or file:// paths of its files (a file manager copy) is about the files, as before; any other text wins (tickets#49); gate casesmre
- b0f1ec28MdEditor: a clipboard with text always pastes the text, also when a picture is on it too (a spreadsheet or office app), files on or off; a picture alone still goes to the files; real Ctrl+V gate tests/md-paste-files.mjs (tickets#49)mre
- ad4e929bMdEditor: pipe rows without a delimiter row are a table (first row = header, short rows padded, written back without an invented | --- | line) (notes#5)mre
- 4bd11128MdEditor: the Table button's empty table is written as a real pipe table (empty cells), so it survives the source switch, a save and a reload (notes#7)mre
- 7437e32bMdEditor draws its surface at once when claimed from server HTML: 1 ms mount animation, the first editor mounts all editors of the pagemre
- 5de0264cRe-vendor onto Hybriel master acaceaf3 (set-day27b): binary, lib and plugins; exit 1 on a startup fault; .gitignore binmre
- 79c77e7dMerge sb3-standby: components deploys through its standbymre