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

42 lines
1.1 KiB
TypeScript

"use client";
// A thin, accessible progress indicator for the setup wizard. Shows how far
// through the required steps the user is, both as a bar and a fraction.
interface ProgressBarProps {
percent: number;
requiredDone: number;
requiredTotal: number;
}
export function ProgressBar({
percent,
requiredDone,
requiredTotal,
}: ProgressBarProps) {
const clamped = Math.max(0, Math.min(100, Math.round(percent)));
return (
<div>
<div className="flex items-center justify-between text-xs text-ink/60">
<span>Setup progress</span>
<span>
{requiredDone} of {requiredTotal} required
</span>
</div>
<div
className="mt-1.5 h-2 w-full overflow-hidden rounded-full bg-ink/10"
role="progressbar"
aria-valuenow={clamped}
aria-valuemin={0}
aria-valuemax={100}
aria-label="Onboarding progress"
>
<div
className="h-full rounded-full bg-accent transition-all"
style={{ width: `${clamped}%` }}
/>
</div>
</div>
);
}