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
- 9e1ab228MP: report, LOG line, STATUS entrymre
- dd003e5dMediaPlayer: audio and video in one phone-first player (components/media-player), its demo /media-player with a queue, the media icons in components/icons, the demo's media files served with ranges (lib/media.hl), 35 gate checksmre
- e54f83adMdEditor: text typed before the editor is built is kept (the build takes it in once, the input handler no longer writes it to the field first), tickets#35mre
- 8c920932gate: the 11 old drop-zone checks now test the one-box pick mode (drop anywhere in the box, Choose files button inside it, no drop zone)mre
- 626de199MdEditor: copy and cut put the selection's Markdown on the clipboard, a clipboard with HTML only pastes its text, gate checks for copy, cut and paste (components#20)mre
- 5228126dUX: components synced from the tickets/layouts UX mission (comments: State select in the footer and button words; files-upload: one-box pick mode; modal: footer rule for its own footer). WIP: the gate's #18 pick-mode checks still expect the old drop zone (11 fail), see the UX2 reportmre
- 0a9216fbMdEditor: a Table button in the toolbar, a typed pipe row fills the cells, tables take the page theme's look; gate checks updated for 12 toolbar buttonsmre
- f9d405c8comments: reactions row half as far from its comment (creator 2026-10-24: 'half this distance please'); the 44 px tap targets staymre
- 4922f9cfsessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
- 0355975areports/MC-mobile.md, LOG, STATUS (MC)mre
- 3f0a7229Month view, date picker, range picker: names follow the page language (English by default, not the browser's), weekday/month names formatted in UTC (a UTC+12 zone showed Tue first), 44 px day cells and buttons, Send row air; gate checks at 390 px for every page, popup and dialog (MC)mre
- 29eb07eaPhone: 44 px targets on the site (brand, home links, buttons), comments, modal and pagination; the header is the brand alone on a phone; comments demo: labelled 'You are' group with the chosen user pressed (MC)mre
- d1cc83e2reports/E2-toolbar.mdmre
- 214c3183MdEditor on a phone: toolbar as two even rows of 44 px targets (no clipped icon, no swipe), 'Markdown source' label 15 px, table head 16 px; gate checks (E2)mre
- 9215bbaareports/F5-empty.mdmre
- 134b4e3eMdEditor: an editor the framework puts into the page is built at once (page observer), a surface put in anew under a built editor is redrawn; gates for both (hybriel#211)mre
- 0dce2899reports/K1-bubble.mdmre
- 6b0936a0comments: 'edited' foldable also drops the theme's border, margin and radius (display: contents alone left them computed)mre
- 8d79ff79comments bubble hugs its content: a readonly md-editor surface gets no inline min-height (it beat the stylesheet's min-height 0); 'edited' is a quiet label beside the time, versions unframed; gate checksmre
- ef253fecreports/F4-icons.mdmre