gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit1bbbf0ed1bbbf0edtests/browser.mjs: wait for hydration before clicking the login button on / (device B)mre1bbbf0ed/missions/009-md-editor.md

3.0 KB

  1. # Mission 009 (old 024) — Markdown editor component (ticket tickets.worldapi.org#12)
  2. One-shot worker. The architect verifies your report and deploys; you do NOT deploy or touch Byrodin.
  3. ## Read first
  4. 1. Ticket #12 and the accepted concept (question ticket #14, confirmed by the creator):
  5. `GET https://tickets.worldapi.org/api/projects/tickets.worldapi.org/tickets/12` and `/14` (send a `user-agent`).
  6. Accepted: a **framework-independent web component `<md-editor>`** (shadow DOM, restylable via `--md-*` variables),
  7. usable in Hybriel apps and anywhere else; **exactly the Markdown subset tickets renders**, the stored value stays
  8. plain Markdown; its **own small project** vendored into apps (like `plugins/`); a **toolbar** for the basics (also on
  9. phones) and keyboard shortcuts on desktop. "Consider reusability also in other projects."
  10. 2. `loreana:/media/STORAGE/projects/tickets.worldapi.org/` `CONCEPT.md`, `README.md`, `STATUS.md`, `markdown.hl`
  11. (the renderer — the subset), the ident selector as the model of a shadow-DOM component (`ident.worldapi.org/selector.js`).
  12. 3. `/CONTAINERS/projects/antcolony/README.md` — conventions, lessons ("Build what was described").
  13. ## Hybriel (standard block)
  14. Read `/CONTAINERS/projects/antcolony/docs/hybriel-for-app-workers.md` first (keep both webex LOCAL PATCHES). Report new
  15. Hybriel findings under "Hybriel issues"; do not edit that guide.
  16. ## Scope
  17. 1. New project folder `loreana:/media/STORAGE/projects/worldapi-components/` with `md-editor.js` (plain JS, no build
  18. step), README (how to embed, attributes/events, restyling), its own browser test page + test.
  19. 2. Editing is visual (formatted while typing), the value in/out is plain Markdown of exactly tickets' subset; round-trip
  20. Markdown → editor → Markdown is lossless for that subset. Paste of rich text is reduced to the subset. Safe: no raw
  21. HTML reaches the DOM.
  22. 3. Replace every Markdown-capable text field in tickets (new ticket summary, edit summary, comment, state note) with it,
  23. vendored into tickets (keep the forms working with and without JS as today, or say why not).
  24. 4. Phone (390px) and desktop.
  25. ## Rules
  26. - Develop tickets changes in `.scratch/dev-m024`, copy back when green. **Ports 8800–8849 only.** Own ident instance.
  27. - No git. No `.env`. Don't touch Byrodin. Don't POST to live tickets. Only kill your own PIDs. Clean up Chromes. Scratch
  28. only in the apps' / project's `.scratch/` on Loreana.
  29. - If any action is refused by the permission system, don't retry; report it.
  30. - Tickets gate stays green; add editor checks (typing, toolbar, round-trip, paste, XSS). Screenshots 390/1280.
  31. - Update READMEs/STATUS. Do NOT edit `CONCEPT.md`. Questions go into the report — the architect files them.
  32. - **If the described design is impossible, stop and say why instead of delivering something else.**
  33. ## Report (final answer, this structure)
  34. ```
  35. ## Done
  36. ## Verified (each: command run + observed output)
  37. ## Not verified / open
  38. ## Hybriel issues (repro, observed, expected)
  39. ## Questions for the creator
  40. ## Running (URL, PID, log path)
  41. ```

Branches

Latest commits

  • 1bbbf0edtests/browser.mjs: wait for hydration before clicking the login button on / (device B)mre
  • 6f503cfctests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre
  • e17e2855re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • a6ddccd2re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • 81e036b7docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
  • 5d8d2cf6deploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • 58e8c02cmission 024: report, LOG, STATUS, e2e fixmre
  • 50778073tests/e2e-route-marker.mjs: first paint marker, comments post/edit redrawmre
  • c5203298mission 024: MainMenu marks the page from the route (layouts 0bcc629 main-menu.hl); browser-side marker removed; gate: marker in the server HTMLmre
  • b1a4c270re-vendor Hybriel master f9614007: bin/ (git-ignored) and plugins wholemre
  • 866397a0mission 023: theme from layouts 76f99f6 (current marker, menu count badge), components from 3794c59 (MdEditor keys); Inbox count as badge, current by address; gates and E2E; reportmre
  • 7ed2e5e5deploy.sh: a gate without a 'passed,' line (check-theme) no longer ends the script silently (grep under pipefail), as gitoria/layoutsmre
  • bf9064a3mission 022: tickets on the layouts theme (step 1): shell, styles, gates, audit, E2E; reportmre
  • f3d61711mission 022 WIP: tickets on the layouts theme (dbe3de7): AppHeader/MainMenu/UserMenu/Sidebar/ContentFirst shell, styles reduced to the app's own, check-theme in the gates, 390 audit + real-Chrome walk scriptmre
  • 31cabfccmission 021: E2E script, report, LOG, STATUSmre
  • 6aea8683editor look: .empty rule only for p.empty, files off where tickets has no upload, state note one line, events test scrolls the editor into view; synced md-editor (components d702d76+6f27ad3); gate 377/0, events 52/0mre
  • dce6ffa6Merge branch 'w28-deflake'mre
  • 536092a1tickets (mission 019): de-flake the m016 comment clicks (B: unliked) — calmClick waits until the button stops moving; test only, no app changemre
  • 9c5fd42amission 020: attachments E2E proof (lisbeth Chrome, real-data copy), reportmre
  • 1206404fREADME attachments, report 018, LOG/STATUSmre