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>
23 lines
706 B
TypeScript
23 lines
706 B
TypeScript
// Status pill shared by workflow run tables and the run trace header.
|
|
|
|
const RUN_STATUS_STYLES: Record<string, string> = {
|
|
succeeded: "bg-green-50 text-green-700 border-green-600/30",
|
|
failed: "bg-red-50 text-red-700 border-red-600/30",
|
|
running: "bg-amber-50 text-amber-700 border-amber-600/30",
|
|
skipped: "bg-paper text-ink/40 border-ink/15",
|
|
pending: "bg-paper text-ink/40 border-ink/15",
|
|
};
|
|
|
|
interface RunStatusProps {
|
|
status: string;
|
|
}
|
|
|
|
export function RunStatus({ status }: RunStatusProps) {
|
|
const cls = RUN_STATUS_STYLES[status] ?? "bg-paper text-ink/50 border-ink/15";
|
|
return (
|
|
<span className={`rounded-full border px-2 py-0.5 text-xs ${cls}`}>
|
|
{status}
|
|
</span>
|
|
);
|
|
}
|