import { AlertTriangle, CheckCircle2 } from "lucide-react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import type { IntegrationReadinessRow } from "@/lib/operational-readiness"; type OperationsReadinessProps = { rows: IntegrationReadinessRow[]; }; export function OperationsReadiness({ rows }: OperationsReadinessProps) { return (

MVP-Betrieb

Einstellungen

Integrationsstatus Diese Übersicht zeigt nur fehlende Variablennamen der Next.js-Runtime. Convex-Action-Env bitte zusätzlich über Run-Events oder CLI prüfen. {rows.map((row) => { const isConfigured = row.status === "configured"; const Icon = isConfigured ? CheckCircle2 : AlertTriangle; return (

{row.label}

{isConfigured ? "Konfiguration vorhanden" : "Konfiguration fehlt"}

{row.missingEnv.length > 0 ? (

Fehlend: {row.missingEnv.join(", ")}

) : null}

{row.errorSurface}

); })}
); }