import type { SystemInfoConfig } from './types'

export const dashboardConfig: SystemInfoConfig = {
  title: 'Dashboard System-Info',
  description: 'Zentrale Uebersicht aller BreakPilot-Module und deren Status.',
  version: '2.0',
  architecture: {
    layers: [
      { title: 'Frontend (Next.js 15)', components: ['Dashboard UI', 'Chart.js', 'Realtime Updates'], color: '#3b82f6' },
      { title: 'API Gateway', components: ['Next.js API Routes', 'Auth Middleware', 'Rate Limiting'], color: '#8b5cf6' },
      { title: 'Microservices', components: ['Consent Service', 'Klausur Service', 'School Service'], color: '#10b981' },
      { title: 'Datenbanken', components: ['PostgreSQL', 'Qdrant', 'Valkey (Redis)'], color: '#f59e0b' },
    ],
  },
  features: [
    { name: 'Service Health Monitoring', status: 'active', description: 'Echtzeit-Status aller Microservices' },
    { name: 'Metriken-Aggregation', status: 'active', description: 'Zusammenfassung wichtiger KPIs' },
    { name: 'Alerting System', status: 'planned', description: 'Benachrichtigungen bei Problemen' },
    { name: 'Custom Dashboards', status: 'planned', description: 'Benutzerdefinierte Dashboard-Layouts' },
  ],
  roadmap: [
    { phase: 'Phase 1: Monitoring (Q1)', priority: 'high', items: ['Prometheus Integration', 'Grafana Dashboards', 'Service Health Checks', 'Error Rate Tracking'] },
    { phase: 'Phase 2: Alerting (Q2)', priority: 'medium', items: ['Slack/Teams Integration', 'E-Mail Alerts', 'Eskalations-Regeln', 'On-Call Rotation'] },
    { phase: 'Phase 3: Analytics (Q3)', priority: 'low', items: ['Usage Analytics', 'Cost Tracking', 'Trend-Analysen', 'Kapazitaetsplanung'] },
  ],
  technicalDetails: [
    { component: 'Frontend', technology: 'Next.js', version: '15.x', description: 'React Server Components' },
    { component: 'Styling', technology: 'Tailwind CSS', version: '3.x', description: 'Utility-first CSS' },
    { component: 'State', technology: 'React Hooks', version: '19.x', description: 'Lokaler State' },
    { component: 'Charts', technology: 'Chart.js', version: '4.x', description: 'Datenvisualisierung' },
  ],
}
