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
- 452458ee|||PR Type the function parameters of notes' own .hl files (HL-STANDARD L10)Atlas
- 23758cd6Re-vendor complete Hybriel plugins and runtime to day44mre
- 5d7cc700Backup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
- 3e07b1cfVendor complete Hybriel day39 plugin sources and librariesmre
- d7366702Check session cookie flags after login and assert anonymous GET stays cookielessmre
- 16bc8fd8Re-vendor Hybriel day38b with the mpackdb store-open race fixmre
- d860dc2dnotes#12: the markup names its own rules instead of hand-written class strings: the selected row is `aria-current="page"` (the list-first theme rule styles it, no class), the delete question is `Style.pAsk` and follows its own `open` attribute (bound to `asking`), the error line is `Style.pMessage` (body once in lib/looks.hl, rule in notes.hl, main.hl and loginfailed.hl). The CSS declarations are the same, only selectors changed (.ask -> p.ask, .ask.open -> p.ask[open], .message -> p.message); the pages look the same (AE 0 at 4 sizes). main.hl's selectorClass in/out stays (login.js reads it).mre
- 2e7f8664notes#13: the list and back links pass the note key from the loop (emit pick(e, r.key)) instead of writing data-note into the View and reading it back with getAttribute; the two window.history.replaceState calls and the identcode e.target.value read stay (hl:web has no replace-navigation, a bound hidden input is not adopted on a script's change event), see NO13 reportmre
- 4dc98282notes#15: a deleted note made in this tab leaves the list at once (the delete now removes this tab's edit under every key the row has: local id, server id); gate: browser.mjs notes#15 section, red on the old codemre
- e4e7402fnotes#11: plain declarations instead of let for variables never reassigned (components/notes.hl 3, lib/jsoncheck.hl 5, lib/util.hl 2, tools/migrate-short-ids.hl 8)mre
- 27b6a09enotes#8: Style blocks in the nested form (note-list, note-editor, .ask with their children nested, :empty as a nested pseudo-class); the same CSS rules, the pages look the samemre
- 71a9538bnotes: B27W report, log linemre
- 78ba0073notes: an ident access key (Authorization: Bearer idt_…) reads and writes its identity's notes through /api/me and /api/notes; gate tests/ident-access-notes.mjs (ident#27)mre
- 3de46dacnotes: the sign-in callback keeps the session it finds and signs it in (same cookie, nothing signed out; ident#28); security gate 73+5 failing → 78 passedmre
- 5909d458notes: MdEditor from components 59704ce (text on the clipboard always pastes, a file manager copy still attaches; pipe rows without a delimiter row; tickets#49, notes#5)mre
- 98bd6a98N5b: pipe rows without a delimiter row are a table (MdEditor ad4e929, plain copy); gate tests/dashboard-table.mjs; reportmre
- dbf93319N5 report: components gate rerun 613 passed, 0 failedmre
- 3a8bc0d2N5: empty Table-button table is written as a real pipe table (MdEditor 4bd1112, plain copy); gate tests/table-button.mjs; reportmre
- c16bd443N5: step 1 report (tables pass locally; his DASHBOARD note has no delimiter row)mre
- 6091320anotes: MdEditor 7437e32 (surface drawn at once when the page is claimed); gate measures claim-to-text on 5 note loads at 1280 and 390mre