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>
32 lines
990 B
TypeScript
32 lines
990 B
TypeScript
"use client";
|
|
|
|
// Dedicated "open a new ticket" page. Wraps the shared NewTicketForm and routes
|
|
// to the created ticket on success.
|
|
import Link from "next/link";
|
|
import { useRouter } from "next/navigation";
|
|
import { ModuleHeader } from "@/components/help/ModuleHeader";
|
|
import { NewTicketForm } from "@/components/help/NewTicketForm";
|
|
|
|
export default function NewTicketPage() {
|
|
const router = useRouter();
|
|
return (
|
|
<div>
|
|
<Link href="/console/help/tickets" className="text-sm text-accent">
|
|
← Back to tickets
|
|
</Link>
|
|
<div className="mt-4">
|
|
<ModuleHeader
|
|
title="New support ticket"
|
|
subtitle="Describe your issue and we will follow up in the thread."
|
|
/>
|
|
<div className="mt-6 max-w-2xl">
|
|
<NewTicketForm
|
|
onCreated={(t) => router.push(`/console/help/tickets/${t.id}`)}
|
|
onCancel={() => router.push("/console/help/tickets")}
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|