diff --git a/app/components/SandboxList.tsx b/app/components/SandboxList.tsx index cd5cd39..5c3d104 100644 --- a/app/components/SandboxList.tsx +++ b/app/components/SandboxList.tsx @@ -1,5 +1,6 @@ "use client" import { useState, useEffect } from 'react' +import ConfigurationPanel from './ConfigurationPanel' interface Sandbox { id: string @@ -165,45 +166,49 @@ export default function SandboxList({ {/* Selected Sandbox Details - Technical Data Panel */} {!isDestroyMode && selectedSandbox && ( -
-
-

- {sandboxes.find(s => s.id === selectedSandbox)?.name} — TELEMETRY -

- - LIVE - -
- -
-
-

CPU

-

- {telemetry.cpu.toFixed(1)}% -

+ <> +
+
+

+ {sandboxes.find(s => s.id === selectedSandbox)?.name} — TELEMETRY +

+ + LIVE +
-
-

MEMORY

-

- {telemetry.memory.toFixed(1)}% -

-
-
-

DISK

-

- {telemetry.disk.toFixed(1)}% -

-
- {telemetry.gpuTemperature && ( + +
-

GPU TEMP

+

CPU

- {telemetry.gpuTemperature.toFixed(1)}°C + {telemetry.cpu.toFixed(1)}%

- )} +
+

MEMORY

+

+ {telemetry.memory.toFixed(1)}% +

+
+
+

DISK

+

+ {telemetry.disk.toFixed(1)}% +

+
+ {telemetry.gpuTemperature && ( +
+

GPU TEMP

+

+ {telemetry.gpuTemperature.toFixed(1)}°C +

+
+ )} +
-
+ + + )} )} diff --git a/app/components/Sidebar.tsx b/app/components/Sidebar.tsx index e369384..c194ff5 100644 --- a/app/components/Sidebar.tsx +++ b/app/components/Sidebar.tsx @@ -16,8 +16,11 @@ interface SidebarProps { onToggleSubmenu: () => void isCreateMode: boolean isDestroyMode: boolean + activeView: 'overview' | 'settings' | 'sandboxes' onCreateClick: () => void onDestroyClick: () => void + onOverviewClick: () => void + onSettingsClick: () => void onExitMode: () => void } @@ -29,8 +32,11 @@ export default function Sidebar({ onToggleSubmenu, isCreateMode, isDestroyMode, + activeView, onCreateClick, onDestroyClick, + onOverviewClick, + onSettingsClick, onExitMode }: SidebarProps) { const [sandboxes, setSandboxes] = useState([]) @@ -158,14 +164,26 @@ export default function Sidebar({ )} - -