gitoria

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit8762115c8762115cnotes: take the components e54f83a (paste as Markdown, text typed before the editor is built is kept, Table button); table lines come from the notes thememre8762115c/reports/014-theme-sync-196.md

3.3 KB

  1. # Report 014 — theme 76f99f6 + components 3794c59 + #196 (worker J4) — PARTIAL (quota stop)
  2. Branch w14-theme-sync-196 (worktree /media/STORAGE/claude-scratch/atlas/J4/wt). Not pushed/deployed.
  3. ## Done
  4. - Merged w-theme-76f99f6 (LOG.md conflict resolved, both lines kept). components synced to components.hybriel 3794c59 (2 files, MdEditor keys, build-on-focus).
  5. - components/notes.hl open(): `asking = false` now BEFORE `flush(0)` (hybriel#196).
  6. - tests/browser.mjs openAsk: ONE press, must open and stay open ≥ 0.5 s, else throws.
  7. ## Proof
  8. - 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)
  9. - New open(): delete section 10/10 green (42 passed, 0 failed each; logs/new-delete-summary.txt).
  10. - Full tests/browser.mjs on new tree: 66 passed, 0 failed (logs/full.log).
  11. ## NOT done (quota)
  12. - 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.
  13. - 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`.
  14. ## Continuation (worker J5) — remaining gates + E2E in lisbeth's Chrome
  15. Gates on the branch (data = copies of notes.worldapi.org-20261021-0132.tgz, deleted by the tests): check-theme 21 files, 0 problems;
  16. 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.
  17. 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):
  18. - 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).
  19. 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).
  20. - 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.
  21. - No 'editor 0 children' failure on the new code (waitFor on article children > 0 passed at every note open).
  22. 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.
  23. 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

  • 8762115cnotes: take the components e54f83a (paste as Markdown, text typed before the editor is built is kept, Table button); table lines come from the notes thememre
  • ac23e194ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • 2804f0d3Merge branch 'iw-ident-widget'mre
  • 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
  • 7a889b82notes: MdEditor with the Table button, typed pipe rows and the theme's table look (components mt-tables); a table note is named by its header words; gate checks that fail on mainmre
  • 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