gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit54bc5fe154bc5fe1Harden delta relevance, overflow caps and retry verificationmre54bc5fe1/missions/016-comments-block.md

2.0 KB

  1. # tickets mission 016 — the ticket page's comments use the Comments block (layouts#2, "first used by tickets")
  2. Ticket: https://tickets.worldapi.org/layouts.worldapi.org/2 — "In tickets: the history stays as it is; only the comments in it use this component."
  3. Block: components.hybriel.worldapi.org 9db927d, components/comments/ (README: data in, the four functions onPost/onEdit/onDelete/onLike, rights checked
  4. again on the server). Copy comments/ + md-editor/ (readonly, mission 006 or later) BYTE-VERBATIM like layouts does (tools/sync-components.sh is
  5. the model; a SOURCE file with the commit). Live demo: https://components.hybriel.worldapi.org/comments, https://layouts.worldapi.org/components/comments.
  6. 1. Server (lib/tickets.hl, one topic per file per code-order): comments get edit (author only; earlier versions kept = history, "edited"),
  7. delete (author only; asks first in the block; decide and write down whether a deleted comment leaves a "comment deleted" line in the history —
  8. the history must stay readable), like (one per user, toggle; count + liked). The JSON API + the events stream (lib/events.hl) must stay
  9. compatible: existing clients and the gate's exchange checks unchanged; new event kinds only if needed, documented in README + antcolony
  10. tickets-for-sessions doc is NOT yours (tell Atlas what changed for API users).
  11. 2. Page (components/ticket.hl): in the history, the comment entries render through the block (in place, in order, between state changes etc.);
  12. the "write a comment" form = the block's form. Everything else of the history unchanged. Signed out / non-member: read only (user '').
  13. 3. Gates: tests/browser.mjs + events.mjs old vs new numbers; new checks with real clicks/keys: post (Ctrl+Enter), edit (history folds out),
  14. delete (asks), like toggle, other user's comment has no Edit/Delete, a non-member cannot (server refuses too — test the face directly).
  15. Real data: copy of the newest backup (az5b2 session), the creator's real tickets with long histories render; old vs new pages compared.
  16. Report: reports/016-comments-block.md (+ what API users must know).

Branches

Latest commits

  • 54bc5fe1Harden delta relevance, overflow caps and retry verificationmre
  • 8d8e2053Document subscription contract and exercise delta deliverymre
  • fd23726aAdd subscription delta API and signed wake bridgemre
  • c5d28fb5Tickets conductor: S51 startedmre
  • fd6ca1e6Tickets conductor: brief 027 waker design, push-test projectmre
  • e448e656Tickets conductor: STATUS #51mre
  • 1c10857bTickets conductor: P51 eval, brief 027mre
  • e725969dTickets conductor: #51 directionmre
  • 1b5c63ddTickets conductor: P51 startedmre
  • 9f13fbdaTickets conductor: brief 026 prioritymre
  • acc477d9Tickets conductor: brief 026 + Vinzenz recommendationsmre
  • 9233a734Tickets conductor: brief 026 completemre
  • 5da589fdTickets conductor: brief 026 + Gitoria's answermre
  • 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