caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a
deterministic verification core: clinical-trial claims checked against
ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI
recomputed in code, oracle-tested), code-enforced exact-span grounding, and
multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing
at scale (unpdf + Docling), agentic workflows, Claude Science connector,
compliance/audit, billing, public API, and more.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 07:21:22 +03:00

40 lines
1.1 KiB
TypeScript

// Notes textarea + save control for the evidence detail page.
interface NotesEditorProps {
notes: string;
saving: boolean;
dirty: boolean;
onNotesChange: (value: string) => void;
onSave: () => void;
}
export function NotesEditor({
notes,
saving,
dirty,
onNotesChange,
onSave,
}: NotesEditorProps) {
return (
<section className="mt-6 bg-white border border-ink/15 rounded-lg p-5">
<h2 className="text-sm font-medium text-ink/70">Notes</h2>
<textarea
value={notes}
onChange={(e) => onNotesChange(e.target.value)}
rows={5}
className="mt-3 w-full rounded border border-ink/15 px-3 py-2 text-sm focus:outline-none focus:border-accent"
placeholder="Add context about this source..."
/>
<div className="mt-3 flex justify-end">
<button
onClick={onSave}
disabled={saving || !dirty}
className="rounded-md bg-accent px-3 py-2 text-sm font-medium text-white hover:opacity-90 disabled:opacity-50"
>
{saving ? "Saving..." : "Save notes"}
</button>
</div>
</section>
);
}