mirror of
https://github.com/joelhooks/joelclaw.git
synced 2026-09-19 01:24:04 +08:00
0e6e1a6c85
- 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.
38 lines
1.2 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|