gitoria

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitcb7e6469cb7e6469deploy: security gate (tests/security.mjs)mrecb7e6469/missions/003-md-tables.md

1.6 KB

  1. # notes mission 003 — markdown tables (notes.worldapi.org#5)
  2. Ticket: https://tickets.worldapi.org/notes.worldapi.org/5 — caramboleyo 2026-10-17: "markdown does not recognize tables".
  3. Goal: GitHub-style pipe tables (header row, `|---|:---:|---:|` separator with alignment, body rows, escaped `\|`,
  4. inline markdown in cells, tables without outer pipes) render as real tables wherever notes renders markdown
  5. (view + editor preview, online and offline). Black/white base look (thin grey lines, no colour), readable on mobile
  6. (wide tables scroll horizontally inside their box, page itself does not scroll sideways).
  7. Find first where notes renders markdown (lib/notes.hl? a vendored component from components.hybriel? notes-offline.js?).
  8. If the renderer is a shared component (components.hybriel / layouts), say so in the report: fix it in notes' copy and
  9. describe the upstream change; do not edit other app folders.
  10. Worktree: /media/STORAGE/projects/notes-w1 (branch w1-md-tables). Ports 8700–8719 only.
  11. Rules: /media/STORAGE/projects/WORLDAPI-CONDUCTOR.md (worker rules), code order (byrodin:/CONTAINERS/projects/antcolony/docs/code-order.md).
  12. Proof: notes gate (tests/browser.mjs) all green before and after; NEW gate checks that TYPE a table with real key presses
  13. in the editor and verify the rendered <table> (cells, alignment, inline bold/code, escaped pipe) and that a non-table
  14. line with pipes stays text; screenshots desktop + mobile width that you LOOK at; live-data copy (storage copy, az5b2
  15. session) still renders all existing notes identically except notes containing tables.
  16. Report: reports/003-md-tables.md (+ LOG.md line, STATUS entry), commits on the branch. No push, no deploy, no .env.

Branches

Latest commits

  • 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
  • 3e7e79f5reports/H1-hydrate.mdmre
  • d98775e8tests/browser.mjs: wait for hydration before the clicks after a goto('/') (tables new note, phone sidebar)mre
  • 1f3198b6tests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre