notes
All repositories: gitoria
3.3 KB
# Report 014 — theme 76f99f6 + components 3794c59 + #196 (worker J4) — PARTIAL (quota stop)Branch w14-theme-sync-196 (worktree /media/STORAGE/claude-scratch/atlas/J4/wt). Not pushed/deployed.## Done- Merged w-theme-76f99f6 (LOG.md conflict resolved, both lines kept). components synced to components.hybriel 3794c59 (2 files, MdEditor keys, build-on-focus).- components/notes.hl open(): `asking = false` now BEFORE `flush(0)` (hybriel#196).- tests/browser.mjs openAsk: ONE press, must open and stay open ≥ 0.5 s, else throws.## Proof- Strict gate on OLD open() (delete section, NOTES_GATE_UNTIL=delete): run1 42/0, run2 FAIL "the delete question closed by itself within 0.5 s", run3 FAIL same → the check can fail. (logs/old-delete-*.log in J4/logs)- New open(): delete section 10/10 green (42 passed, 0 failed each; logs/new-delete-summary.txt).- Full tests/browser.mjs on new tree: 66 passed, 0 failed (logs/full.log).## NOT done (quota)- realdata-offline, e2e-roundtrip (28 notes), check-theme, and the E2E in lisbeth's Chrome (390/1280, under the lock, on a copy of notes.worldapi.org-20261021-0132.tgz; the "0 children" question after build-on-focus). No shots, no tunnel started.- Next step: `node tests/realdata-offline.mjs <tgz> 8710 8711-8717`; `node tests/e2e-roundtrip.mjs <tgz> 8710 8711-8717`; check-theme (`node theme/check-theme.mjs`); tunnel `ssh -f -N -L 9223:127.0.0.1:9223 lisbeth` + `-R <port>`; `timeout 600 flock /media/STORAGE/claude-scratch/atlas/lisbeth.lock node tests/e2e-chrome.mjs new <tgz> <port> 9223 ../shots`.## Continuation (worker J5) — remaining gates + E2E in lisbeth's ChromeGates on the branch (data = copies of notes.worldapi.org-20261021-0132.tgz, deleted by the tests): check-theme 21 files, 0 problems;realdata-offline 12 passed, 0 failed; e2e-roundtrip 5 passed, 0 failed (28 notes, none added/lost); full tests/browser.mjs 66 passed, 0 failed. Logs: atlas/J5/logs.Real-browser E2E (lisbeth Chrome via CDP 9223 tunnel, flock lisbeth.lock, one existing tab, no clipboard, real keys/clicks, 390 then 1280, tests/e2e-chrome.mjs):- NEW (this branch), 2nd run: 39 passed, 0 failed (list, click a note → editor has children, typing heading/bold/list/table, save, reload, offline edit, back online, delete question opens and the delete works, user menu + Escape, sidebar, menu marks page).1st run: 30 passed, 2 failed at 1280 only ("server has the note byte for byte" mismatch, then reload landed on /note/ = new-note id not yet assigned); 390 all green; rerun green (machine overloaded; flake, not reproduced; open point below).- OLD (21c8f65 + the new e2e-chrome.mjs): 33 passed, 6 failed — exactly the 6 menu-marks-current-page checks (aria-current) at 390 and 1280, which the theme 76f99f6 fixes.- No 'editor 0 children' failure on the new code (waitFor on article children > 0 passed at every note open).Screenshots: /media/STORAGE/claude-scratch/atlas-evidence/J5/{new,old}-{390,1280}-*.png (list, user menu, sidebar, note, menu on note, typed, reloaded, offline, delete-ask, end). The worker has no image viewer: shots were checked by size/dimensions (390x844 PNG, non-blank) and by the DOM checks, not by eye.Open points: (1) the 1280 first-run flake in the new-note save/reload step (not reproduced; old tree not run twice to compare); (2) shots not eyeballed — Atlas/creator should glance at new-390-5a-delete-ask.png and new-1280-5a-delete-ask.png.
Branches
Latest commits
- 52d8d242notes: e2e script checks Log out and the selector in the header instead of the user menumre
- e5abf7b7notes header: the selector alone top right plus Log out as before the theme missions; the user icon is gonemre
- 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