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:
Dominik Schön
2026-10-30 14:58:42 +00:00
parent e9c8b14ee6
commit adb2286929
7 changed files with 749 additions and 2 deletions
+15 -1
View File
@@ -14,7 +14,7 @@ type ControllerNodeRecord = {
interface SidebarProps {
sandboxesRunning: number
sandboxesTotal: number
activeView: 'settings' | 'sandboxes' | 'help' | 'wizards' | 'mcp' | 'org' | 'messages' | 'board' | 'owner' | 'escalations' | 'approvals' | 'fleet-sandboxes' | 'tasks'
activeView: 'settings' | 'sandboxes' | 'help' | 'wizards' | 'mcp' | 'org' | 'messages' | 'board' | 'owner' | 'escalations' | 'approvals' | 'fleet-sandboxes' | 'tasks' | 'ops'
isCreateMode: boolean
isDestroyMode: boolean
onSandboxesClick: () => void
@@ -33,6 +33,7 @@ interface SidebarProps {
onFleetEscalationsClick: () => void
onFleetSandboxesClick: () => void
onFleetTasksClick: () => void
onFleetOpsClick: () => void
onExitMode: () => void
onLogout: () => void
terminalDisabled?: boolean
@@ -62,6 +63,7 @@ export default function Sidebar({
onFleetEscalationsClick,
onFleetSandboxesClick,
onFleetTasksClick,
onFleetOpsClick,
onExitMode,
onLogout,
terminalDisabled = false,
@@ -268,6 +270,18 @@ export default function Sidebar({
<span className="text-sm max-lg:text-[11px]">Tasks</span>
</button>
<button
onClick={onFleetOpsClick}
className={`mt-1 max-lg:mt-0 ${navItemClass(activeView === 'ops')}`}
aria-current={activeView === 'ops' ? 'page' : undefined}
data-testid="fleet-nav-ops"
>
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="square" strokeLinejoin="miter" strokeWidth={2} d="M12 8v4l3 2m6-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span className="text-sm max-lg:text-[11px]">Betrieb</span>
</button>
<button
onClick={onFleetMessagesClick}
className={`mt-1 max-lg:mt-0 ${navItemClass(activeView === 'messages')}`}