fleet(tower): 0.20-Features nachziehen — nar-history, release-feed, task-redispatch API + OpsPanels (live in 0.20 gebaut, bisher nur Working Tree)
This commit is contained in:
+10
-1
@@ -18,6 +18,7 @@ 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 OpsPanels from './components/fleet/OpsPanels'
|
||||
import {
|
||||
createHydrationSafeDashboardSessionState,
|
||||
buildOperatorTerminalRoute,
|
||||
@@ -33,7 +34,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' | 'org' | 'messages' | 'board' | 'owner' | 'escalations' | 'approvals' | 'fleet-sandboxes' | 'tasks'>('org')
|
||||
const [activeView, setActiveView] = useState<'settings' | 'sandboxes' | 'help' | 'wizards' | 'mcp' | 'org' | 'messages' | 'board' | 'owner' | 'escalations' | 'approvals' | 'fleet-sandboxes' | 'tasks' | 'ops'>('org')
|
||||
const [telemetryBarEnabled, setTelemetryBarEnabled] = useState(false)
|
||||
const [deletingSandboxId, setDeletingSandboxId] = useState<string | null>(null)
|
||||
const [showDeleteConfirm, setShowDeleteConfirm] = useState(false)
|
||||
@@ -290,6 +291,12 @@ export default function Dashboard() {
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onFleetOpsClick={() => {
|
||||
setActiveView('ops')
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
clearSelection()
|
||||
}}
|
||||
onExitMode={() => {
|
||||
setIsCreateMode(false)
|
||||
setIsDestroyMode(false)
|
||||
@@ -317,6 +324,8 @@ export default function Dashboard() {
|
||||
<SandboxFleetView />
|
||||
) : activeView === 'tasks' ? (
|
||||
<TaskBrowser />
|
||||
) : activeView === 'ops' ? (
|
||||
<OpsPanels />
|
||||
) : activeView === 'approvals' ? (
|
||||
<OwnerApprovals />
|
||||
) : activeView === 'escalations' ? (
|
||||
|
||||
Reference in New Issue
Block a user