feat: Add complete dashboard for customers

🎨 Dashboard UI (Next.js 14)
- Modern dark theme with purple/green accents
- Responsive layout with sidebar navigation
- Real-time metrics cards with alerts
- Interactive charts (CPU, Memory) with Recharts
- Hosts table with status indicators
- Alerts list with AI suggestions

🤖 AI Copilot Chat
- Slide-in panel with chat interface
- Quick action buttons
- Command suggestions with execute option
- Real-time loading indicators

📊 Components
- MetricCard with trend indicators
- HostsTable with colored metrics
- AlertsList with severity levels
- AIInsights panel with predictions
- CpuChart and MemoryChart

🛠️ Tech Stack
- Next.js 14 with App Router
- TypeScript
- Tailwind CSS
- Recharts for visualization
- Zustand for state management
This commit is contained in:
2026-02-05 22:52:55 -03:00
parent 0f7ac29f6e
commit dbf9f0497f
17 changed files with 1138 additions and 0 deletions

20
dashboard/tsconfig.json Normal file
View File

@@ -0,0 +1,20 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [{ "name": "next" }],
"paths": { "@/*": ["./src/*"] }
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}