gitoria

components

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitf9d405c8f9d405c8comments: reactions row half as far from its comment (creator 2026-10-24: 'half this distance please'); the 44 px tap targets staymref9d405c8/reports/E2-toolbar.md

2.5 KB

  1. # E2 — MdEditor toolbar and small texts on a phone
  2. Branch e2-toolbar. components 214c318 (+ report commit), tickets/notes/layouts: sync commits on their e2-toolbar branches (worktrees in the E2 scratch).
  3. ## Design
  4. - At 390 px the 11-icon toolbar was one row with a hidden sideways swipe: bold…heading… and undo / redo / code block were clipped (3–4 buttons outside the editor box).
  5. - Now (max-width 40rem): the toolbar is a CSS grid, 6 columns (5 with files="off", which is what tickets/notes/layouts use), so the buttons sit in two even rows (6+5, or 5+5) sharing the width, 44 px high, ≥ 66 px wide. Nothing is clipped, nothing to swipe. No `⋯` menu: all icons stay one tap away, the editor gets ~55 px taller.
  6. - Label "Markdown source": 13.6 → 15 px, still the muted colour, now a 44 px-high target (quiet look kept). Table head (`th`): the app themes set .85rem (13.6 px) on `th`, smaller than the cells; on a phone the editor's head is 16 px (the body size).
  7. - Desktop untouched: 1280 screenshots old vs new are pixel-identical (notes, tickets); the components gate checks one row of 32 px buttons and a 13.6 px label at 1000 px.
  8. - Hybriel .hl/.css only; no JS.
  9. ## Gates
  10. - components browser.mjs: old code 501 passed + 3 FAIL (the new E2 checks fail on old code: toolbar rows/outside buttons/scroll, label size/target, th size); new code 504/0 ×3. Checks at 390: 2 rows (6+5), 0 buttons outside the editor box, no toolbar scroll, every button ≥ 44×44, label ≥ 14 px and ≥ 44 px high and muted, th ≥ 14 px (= td) under a theme th of .85rem; at 1000 px one row of 32 px and 13.6 px label.
  11. - Old checks that asserted ONE row were changed (m010 in components; m021 in tickets; "single row" in layouts) to the new two-row rule.
  12. - tickets 389/0 + events 52/0, theme 0; notes 69/0, theme 0; layouts 311/0, theme 0. Files md-editor.hl / README.md byte-identical to components in all three; components/SOURCE updated.
  13. ## Screenshots (real headless Chrome I started, real click + typed text; 390 = touch, DPR 3; data copies of the deploy backup / MN copy)
  14. Dir: components reports/E2-shots (copy) = /media/STORAGE/claude-scratch/atlas/E2/s/shots
  15. - old-/new-notes-390.png, old-/new-notes-1280.png (note page with a table), old-/new-tickets-390.png, old-/new-tickets-1280.png (comment editor), cmp-notes-390.png, cmp-tickets-390.png (old | new).
  16. - Seen: old 390 — toolbar cut at the right edge (a half icon at the border), undo/redo/block missing; new 390 — two tidy rows of five (B I <> link H / list olist block undo redo), evenly spaced, inside the frame, the label larger but grey; table head readable. 1280 — identical to before.

Branches

Latest commits

  • 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
  • ba96735ficons: README, md-editor README note, gate checks for the single focus ring and toolbar iconsmre
  • 96c97691icons: shared Icon component; md-editor toolbar and files-upload remove use it; no inner focus ring in md-editormre
  • 0d6863d6reports/F3-mdvalue.mdmre
  • d58ed98bMdEditor: an older text of the editor handed back is not an outside change (kept surface, written back); gate for itmre
  • c2d0de59MdEditor: show a value that changes from outside (data-value observer), demo button and gatemre
  • c4272fa3re-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
  • 2e22618etests: cdp-blank/md-bg/md-keys-run Chrome range and base port from env (MDK_CHROME, MDK_PORT), defaults unchangedmre