Files
joelhooks__joelclaw/apps/web/registry.json
Joel Hooks 0e6e1a6c85 refactor(review): generalize from ADR-only to universal content review
- Drop adrComments table, use contentResources + contentResourceResource
- New reviewComments.ts Convex functions (getByContent, addComment, etc)
- Rename Adr* components → Review* (review-gate, review-wrapper, etc)
- Move /api/adrs/submit-review → /api/review/submit
- Event: content/review.submitted (was adr/review.submitted)
- Props: contentId + contentType + contentSlug (was adrSlug)
- Add content-review.ts Inngest function in system-bus
- Registry renamed: adr-review → content-review
- listLinkedReviewComments query added to contentResources

ADR-0106. Zero data existed so schema migration was free.
2026-02-22 11:00:06 -08:00

38 lines
1.2 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "joelclaw",
"homepage": "https://joelclaw.com",
"items": [
{
"name": "content-review",
"type": "registry:block",
"title": "Content Review System",
"description": "Paragraph-level inline comment system for reviewing any content. Mobile-first, inline under paragraph, batch submit to agent pipeline. Uses contentResources for storage. Requires Convex and better-auth.",
"registryDependencies": ["drawer", "button", "textarea", "badge"],
"dependencies": ["convex", "lucide-react"],
"files": [
{
"path": "registry/new-york/review/review-gate.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/review/review-wrapper.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/review/inline-comment.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/review/review-sheet.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/review/review-fab.tsx",
"type": "registry:component"
}
]
}
]
}