gitoria

components

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6fd953e36fd953e3range-picker: nest Style rules in the language's formmre6fd953e3/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

  • 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
  • c5442043components: no jobs switch needed in the standbymre