gitoria

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit7a889b827a889b82notes: 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 mainmre7a889b82/reports/013-theme-76f99f6.md

2.3 KB

  1. # Report 013 — notes on layouts theme 76f99f6 (worker F4)
  2. Branch w-theme-76f99f6 from f431bdf. Not merged, not deployed. Theme source: layouts.worldapi.org main **76f99f6**; `diff -r` empty.
  3. ## Changed
  4. - theme/ copied verbatim. components/main.hl: the one item `{ Notes, '/' }` gets `current = true` (the shell passes no path, so nothing was ever marked; /note/… is not matched by '/' either).
  5. - tests/e2e-chrome.mjs: marker checks (exactly one visible link with aria-current="page", class current, box-shadow bar): list at 390 (sidebar open) and 1280 (header), on a note page, and after a REAL click on the item (note → list); falls back to a stale 127.0.0.1 tab when no about:blank exists (shared Chrome).
  6. ## Gates, old (f431bdf) vs new
  7. - browser: old **66/0**; new **66/0** (run 4). New runs 1–3 failed for gate-infrastructure reasons: run 1 "back to the list, one note less" timeout (30 s, load ~40; passed on rerun), runs 2–3 "no bindable port" (the gate needs ≥3 Chrome ports at once; I had 2 → 8760-8763 for the passing runs).
  8. - realdata-offline: old 12/0, new 12/0. check-theme (new): 0 problems.
  9. ## E2E in lisbeth's Chrome — NOT clean
  10. - Marker checks that ran passed on new code: 390 sidebar marked, 390 note marked, 390 marked after real click, 1280 list marked (several runs).
  11. - Old code: **6 marker checks FAIL** (current 0 at 390 and 1280), rest of the flow 33 passed → the check can fail.
  12. - New code: **4 runs, none finished**: the existing flow crashed at different steps — "an existing note opens" (editor article has 0 children; at 1280 in run 2, at 390 in run 4), my reopen step in run 1 (since replaced by a plain goto), "the server has the note" / empty note id at 390 in run 3. The old tree ran through once (33/6). Machine load 30–50, shared Chrome; I could not tell whether the editor-empty flake is the theme or load/#196-style flush races. Not proven: 1280 marker on a note page and the click-back at 1280. Re-run on a quieter machine before accepting.
  13. - Shots: /media/STORAGE/claude-scratch/atlas/F4/shots/ (new-390-1c-sidebar, new-390-1f-menu-on-note, new-390-1g-menu-after-click, new-1280-1e-menu-marked …; old-*). Cannot view PNGs.
  14. ## NOT done: extra item (Atlas message, #196: `asking = false` before `flush(0)` in open(), strict openAsk check, delete 10×)
  15. Out of budget (far over 60 requests). Not started.

Branches

Latest commits

  • 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
  • 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