feat: Add NVIDIA industrial design dashboard with Create/Destoy sandbox workflows

- Industrial dark theme with #76B900 NVIDIA green accents
- Real-time telemetry from Kubernetes API
- Create Sandbox button and workflow
- Destroy Sandbox mode with destructive confirmation overlay
- Sidebar fetches pod data directly from /api/telemetry/real
- Fixed TypeError with defensive array checks
- Technical typography, sharp corners, data-dense panels
- Status indicators: GREEN RUNNING, red DESTROY mode
This commit is contained in:
Mark McKeen
2026-03-26 16:39:19 -06:00
commit 0c731b254a
32 changed files with 2544 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
import { NextResponse } from 'next/server'
// Mock OpenShell configuration
// In production, this would call OpenShell API
const mockOpenshellConfig = {
enabled: true,
port: 8080,
policies: ['resource-control', 'network-isolation', 'audit-logging']
}
export async function GET() {
try {
return NextResponse.json(mockOpenshellConfig)
} catch (error) {
return NextResponse.json(
{ error: 'Failed to fetch OpenShell config' },
{ status: 500 }
)
}
}
export async function POST(request: Request) {
try {
const body = await request.json()
return NextResponse.json({ ...mockOpenshellConfig, ...body })
} catch (error) {
return NextResponse.json(
{ error: 'Failed to update OpenShell config' },
{ status: 500 }
)
}
}