Add Vercel-style deployment dashboard

- Add /deployments/[uuid] route with detailed deployment view
- Add DeploymentDashboard component with tabs (Deployment, Logs, Resources, Source)
- Add real-time health/stats via SWR with 10s polling
- Add Docker API helpers (health, stats, uptime) via SSH
- Add redeploy action endpoint and button
- Add expand button to table for inline log viewing
- Add loading skeleton, error, and empty states
- Handle edge cases (in_progress, error, cancelled, missing data)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-02-06 18:00:14 +01:00
parent f7c57ca4f0
commit efc7a8392b
12 changed files with 2031 additions and 8 deletions

View File

@@ -15,7 +15,8 @@
"pg": "^8.18.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"recharts": "^3.7.0"
"recharts": "^3.7.0",
"swr": "^2.4.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",