notes
All repositories: gitoria
1.1 KB
# H1 — notes: click before hydrationBranch h1-hydrate. Tests only. Changes: tests/cdp.mjs (HL_CPU_THROTTLE=<rate> optional, CDP Emulation.setCPUThrottlingRate), tests/browser.mjs (shared `hydrated` helper already in the file; 2 clicks fixed: `#newnote` after goto('/') in the tables section, `#notes a` after goto('/') in the phone-layout section).Other clicks audited: already after hydrated()/editorReady()/client-built elements, or offline (no socket by design).Proof (CPU 6x, browser gate): OLD main 3/3 died at "tables: new note" (the #newnote click lost; 54 ok, then crash). NEW: 0/7 died there.Full green at 6x on NEW: 1 of 7 with the default timeouts (other throttle-sensitive steps: "tables: offline (server stopped)" shows the stale cell '2' instead of '20' within 30 s in 3 runs - possibly an app/offline-render issue, NOT a click race; "tables: typed to the end" once); with NOTES_GATE_SLOW=10: NEW 2/2 green (69 ok), OLD 1/1 failed at the same click.Normal speed, NEW: 69 ok 0 failed in 3 runs in a row (runs 2-4); run 1 failed once at "B follows the delete" (live sync, unrelated, load ~13). OLD normal: 69 ok.theme gate: 21 files, 0 problems. deploy.sh gates: browser + theme.
Branches
Latest commits
- a2e343aeident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
- b96c7f70theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
- 6140e6a0sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
- cb7e6469deploy: security gate (tests/security.mjs)mre
- 774bf34bnotes security: CSRF guard on /api/notes, new session at login, Secure cookie, uploadMax 0, login rate limit, nosniff, face payload check; tests/security.mjs; SN reportmre
- ef18a68fsync components.hybriel 214c318: MdEditor on a phone, two even toolbar rows of 44 px targets, label 15 px, table head 16 px (E2)mre
- c37488b1MN report: alignment updatemre
- 4fb35a0enotes mobile: Delete note and the delete row exactly on the editor's edges; gate asserts 1 pxmre
- 91736270MN report and logmre
- 15667425notes: delete confirmation buttons at most 12rem wide on the desktopmre
- 8f7a6a95gate: MN phone checks (list header gutter, back gap, delete question)mre
- 90c73ed3notes mobile: back link gapmre
- 72bd4f83notes mobile: list header on the gutter, delete confirmation as a question + two equal buttons, Delete note under the editor edgemre
- ba1e73f8notes: a sent edit is done once the server's version is not older, so a second writer's text shows in the first tab; gate: two writers both waysmre
- c69ef9ebsync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre
- 2eb783f5sync components 9a: shared Icon (icons/icons.hl), md-editor toolbar icons + single focus ring (components f4-icons ba96735)mre
- 4dd46dadsync-components: copy icons/icons.hl + README (F4); testsmre
- c92e4a0ftests/e2e-outside.mjs: real-Chrome E2E, a note pushed from another device while open, then typingmre
- 0516b4ccmd-editor.hl: verbatim copy of components f3-mdvalue (an older text handed back is kept)mre
- 38cc11ecmd-editor.hl: verbatim copy of components f3-mdvalue (an outside value change is shown by the editor)mre