fleet(tower): 0.18 — Tasks-View (Spool/Dead-Letter/Alarm) + Task-Detail-Modal + /healthz + /api/status; Fleet-Views 0.13-0.18 erstmals versioniert
This commit is contained in:
+74
-2
@@ -10,6 +10,14 @@ import McpConfigurationPanel from './components/McpConfigurationPanel'
|
||||
import LiveTelemetryBar from './components/LiveTelemetryBar'
|
||||
import ActivityPanel from './components/ActivityPanel'
|
||||
import { useSandboxInventory } from './hooks/useSandboxInventory'
|
||||
import OrgChart from './components/fleet/OrgChart'
|
||||
import MessageFeed from './components/fleet/MessageFeed'
|
||||
import KanbanBoard from './components/fleet/KanbanBoard'
|
||||
import OwnerPanel from './components/fleet/OwnerPanel'
|
||||
import OwnerApprovals from './components/fleet/OwnerApprovals'
|
||||
import EscalationHistory from './components/fleet/EscalationHistory'
|
||||
import SandboxFleetView from './components/fleet/SandboxFleetView'
|
||||
import TaskBrowser from './components/fleet/TaskBrowser'
|
||||
import {
|
||||
createHydrationSafeDashboardSessionState,
|
||||
buildOperatorTerminalRoute,
|
||||
@@ -25,7 +33,7 @@ export default function Dashboard() {
|
||||
const [dashboardSession, setDashboardSession] = useState(() => createHydrationSafeDashboardSessionState())
|
||||
const [isCreateMode, setIsCreateMode] = useState(false)
|
||||
const [isDestroyMode, setIsDestroyMode] = useState(false)
|
||||
const [activeView, setActiveView] = useState<'settings' | 'sandboxes' | 'help' | 'wizards' | 'mcp'>('sandboxes')
|
||||
const [activeView, setActiveView] = useState<'settings' | 'sandboxes' | 'help' | 'wizards' | 'mcp' | 'org' | 'messages' | 'board' | 'owner' | 'escalations' | 'approvals' | 'fleet-sandboxes' | 'tasks'>('org')
|
||||
const [telemetryBarEnabled, setTelemetryBarEnabled] = useState(false)
|
||||
const [deletingSandboxId, setDeletingSandboxId] = useState<string | null>(null)
|
||||
const [showDeleteConfirm, setShowDeleteConfirm] = useState(false)
|
||||
@@ -234,6 +242,54 @@ export default function Dashboard() {
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetOrgClick={() => {
|
||||
setActiveView('org')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetMessagesClick={() => {
|
||||
setActiveView('messages')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetBoardClick={() => {
|
||||
setActiveView('board')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetOwnerClick={() => {
|
||||
setActiveView('owner')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetApprovalsClick={() => {
|
||||
setActiveView('approvals')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetEscalationsClick={() => {
|
||||
setActiveView('escalations')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetSandboxesClick={() => {
|
||||
setActiveView('fleet-sandboxes')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetTasksClick={() => {
|
||||
setActiveView('tasks')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onExitMode={() => {
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
@@ -249,7 +305,23 @@ export default function Dashboard() {
|
||||
<div>
|
||||
<div className="mx-auto max-w-7xl p-8 max-sm:p-4">
|
||||
{telemetryBarEnabled && <LiveTelemetryBar />}
|
||||
{activeView === 'settings' ? (
|
||||
{activeView === 'org' ? (
|
||||
<OrgChart />
|
||||
) : activeView === 'messages' ? (
|
||||
<MessageFeed />
|
||||
) : activeView === 'board' ? (
|
||||
<KanbanBoard />
|
||||
) : activeView === 'owner' ? (
|
||||
<OwnerPanel />
|
||||
) : activeView === 'fleet-sandboxes' ? (
|
||||
<SandboxFleetView />
|
||||
) : activeView === 'tasks' ? (
|
||||
<TaskBrowser />
|
||||
) : activeView === 'approvals' ? (
|
||||
<OwnerApprovals />
|
||||
) : activeView === 'escalations' ? (
|
||||
<EscalationHistory />
|
||||
) : activeView === 'settings' ? (
|
||||
<div className="space-y-6">
|
||||
<div className="panel p-8">
|
||||
<h1 className="text-lg font-semibold text-[var(--nvidia-green)] uppercase tracking-wider mb-4">
|
||||
|
||||
Reference in New Issue
Block a user