'use client' /** * Architecture Overview Page * * Central view of all backend modules and their connections. * Helps track migration progress and ensure no modules are lost. */ import { useState } from 'react' import { PagePurpose } from '@/components/common/PagePurpose' import { ArchitectureView } from '@/components/common/ArchitectureView' import { DataFlowDiagram } from '@/components/common/DataFlowDiagram' import { getModuleStats } from '@/lib/module-registry' type ViewMode = 'list' | 'diagram' export default function ArchitecturePage() { const [viewMode, setViewMode] = useState('list') const stats = getModuleStats() return (
{/* Summary Cards */}
Migrations-Fortschritt
{stats.percentComplete}%
{stats.connected} von {stats.total} Modulen
Verbunden
{stats.connected}
Vollstaendig migriert
Teilweise verbunden
{stats.partial}
In Bearbeitung
Nicht verbunden
{stats.notConnected}
Noch zu migrieren
{/* View Toggle */}
Ansicht:
{/* Content based on view mode */} {viewMode === 'list' ? ( ) : ( )} {/* Migration Checklist */}

Migrations-Checkliste

Grundgeruest Admin v2 erstellt (Layout, Navigation)
Compliance Hub migriert
Consent Verwaltung migriert
Workflow (Versionierung) migriert mit Sync-Scroll
DSR-Modul migrieren Prioritaet: Hoch
Cookie-Kategorien migrieren Prioritaet: Mittel
KI-Module migrieren (LLM Compare, OCR, RAG)
Infrastruktur-Module migrieren
Alle Module getestet und deployed
Verwaiste Module identifiziert und dokumentiert
) }