tickets
All repositories: gitoria
3.0 KB
# Mission 009 (old 024) — Markdown editor component (ticket tickets.worldapi.org#12)One-shot worker. The architect verifies your report and deploys; you do NOT deploy or touch Byrodin.## Read first1. Ticket #12 and the accepted concept (question ticket #14, confirmed by the creator):`GET https://tickets.worldapi.org/api/projects/tickets.worldapi.org/tickets/12` and `/14` (send a `user-agent`).Accepted: a **framework-independent web component `<md-editor>`** (shadow DOM, restylable via `--md-*` variables),usable in Hybriel apps and anywhere else; **exactly the Markdown subset tickets renders**, the stored value staysplain Markdown; its **own small project** vendored into apps (like `plugins/`); a **toolbar** for the basics (also onphones) and keyboard shortcuts on desktop. "Consider reusability also in other projects."2. `loreana:/media/STORAGE/projects/tickets.worldapi.org/` `CONCEPT.md`, `README.md`, `STATUS.md`, `markdown.hl`(the renderer — the subset), the ident selector as the model of a shadow-DOM component (`ident.worldapi.org/selector.js`).3. `/CONTAINERS/projects/antcolony/README.md` — conventions, lessons ("Build what was described").## Hybriel (standard block)Read `/CONTAINERS/projects/antcolony/docs/hybriel-for-app-workers.md` first (keep both webex LOCAL PATCHES). Report newHybriel findings under "Hybriel issues"; do not edit that guide.## Scope1. New project folder `loreana:/media/STORAGE/projects/worldapi-components/` with `md-editor.js` (plain JS, no buildstep), README (how to embed, attributes/events, restyling), its own browser test page + test.2. Editing is visual (formatted while typing), the value in/out is plain Markdown of exactly tickets' subset; round-tripMarkdown → editor → Markdown is lossless for that subset. Paste of rich text is reduced to the subset. Safe: no rawHTML reaches the DOM.3. Replace every Markdown-capable text field in tickets (new ticket summary, edit summary, comment, state note) with it,vendored into tickets (keep the forms working with and without JS as today, or say why not).4. Phone (390px) and desktop.## Rules- Develop tickets changes in `.scratch/dev-m024`, copy back when green. **Ports 8800–8849 only.** Own ident instance.- No git. No `.env`. Don't touch Byrodin. Don't POST to live tickets. Only kill your own PIDs. Clean up Chromes. Scratchonly in the apps' / project's `.scratch/` on Loreana.- If any action is refused by the permission system, don't retry; report it.- Tickets gate stays green; add editor checks (typing, toolbar, round-trip, paste, XSS). Screenshots 390/1280.- Update READMEs/STATUS. Do NOT edit `CONCEPT.md`. Questions go into the report — the architect files them.- **If the described design is impossible, stop and say why instead of delivering something else.**## Report (final answer, this structure)```## Done## Verified (each: command run + observed output)## Not verified / open## Hybriel issues (repro, observed, expected)## Questions for the creator## Running (URL, PID, log path)```
Branches
Latest commits
- a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
- 6f6e5797Tickets conductor: STATUS wordingmre
- 957de51fTickets conductor: T36 live, #36 review, #50 donemre
- bc2fde32Merge branch 'main' into t36-stylemre
- b7ca093atests: wait for the new row and normalize editor marker spacesmre
- 41da3525Tickets conductor: flake cause, T36 deploy stepmre
- 64c477e6Tickets conductor: deploy waits for Arachnemre
- 467d7286Tickets conductor: T36 done, deploy questionmre
- fed5ca81ticket_list: remove repeated selected-state coloursmre
- 8542fc8aTickets conductor: T36 proof reviewedmre
- 35980936inbox: preserve desktop columns after list styles were scopedmre
- 2a5b8b91Tickets conductor: T36 cap stop, resumed for proofmre
- c077a5cbstyles: format Style with nested language rulesmre
- ccdde2beticket: format Style with nested language rulesmre
- d083535bticket_list: nest Style rules and bare media queriesmre
- c24608ebmarkdown: format Style with nested language rulesmre
- de964b3bsettings: format Style with nested language rulesmre
- 03c1de05new_project: format Style with nested language rulesmre
- bd76cfa6connect: format Style with nested language rulesmre
- 01fad593inbox: format Style with nested language rulesmre