From 62bee4f5680ec8d71a3a00ca3b51873788ef7e85 Mon Sep 17 00:00:00 2001 From: codebanditssss Date: Tue, 30 Jun 2026 19:53:33 +0530 Subject: [PATCH 1/2] fix: move board notifications - Remove the board-level shell title bar - Move notifications into the board header - Keep sidebar offset only on session routes --- .../src/renderer/components/SessionsBoard.tsx | 6 +- .../src/renderer/components/ShellTopbar.tsx | 132 ++++++++---------- frontend/src/renderer/routes/_shell.tsx | 7 +- 3 files changed, 72 insertions(+), 73 deletions(-) diff --git a/frontend/src/renderer/components/SessionsBoard.tsx b/frontend/src/renderer/components/SessionsBoard.tsx index 7da1b8a303..cc0a850d3e 100644 --- a/frontend/src/renderer/components/SessionsBoard.tsx +++ b/frontend/src/renderer/components/SessionsBoard.tsx @@ -6,6 +6,7 @@ import { type AttentionZone, type WorkspaceSession, attentionZone, workerSession import { useSessionScmSummary, type SessionPRSummary } from "../hooks/useSessionScmSummary"; import { useWorkspaceQuery, workspaceQueryKey } from "../hooks/useWorkspaceQuery"; import { DashboardSubhead } from "./DashboardSubhead"; +import { NotificationCenter } from "./NotificationCenter"; import { OrchestratorIcon } from "./icons"; import { NewTaskDialog } from "./NewTaskDialog"; import { spawnOrchestrator } from "../lib/spawn-orchestrator"; @@ -126,6 +127,7 @@ export function SessionsBoard({ projectId }: SessionsBoardProps) { const actions = projectId ? ( <> + - - - ) : null} - {/* Kill control sits beside the orchestrator link for active workers — - moved here from the inspector's Summary "Danger zone". */} - {!isOrchestrator && session && sessionIsActive(session) ? : null} - {!isOrchestrator && ( - - )} - {/* Inspector collapse (worker sessions only — orchestrators have no rail). */} - {!isOrchestrator && ( - - )} + + ) : null} + {/* Kill control sits beside the orchestrator link for active workers — + moved here from the inspector's Summary "Danger zone". */} + {!isOrchestrator && session && sessionIsActive(session) ? : null} + {!isOrchestrator && ( + + )} + {/* Inspector collapse (worker sessions only — orchestrators have no rail). */} + {!isOrchestrator && ( + + )} WorkspaceSummary[]) => { @@ -185,7 +188,7 @@ function ShellLayout() { > Date: Tue, 30 Jun 2026 14:24:19 +0000 Subject: [PATCH 2/2] chore: format with prettier [skip ci] --- frontend/src/renderer/routes/_shell.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/renderer/routes/_shell.tsx b/frontend/src/renderer/routes/_shell.tsx index 9666a76799..8749c32456 100644 --- a/frontend/src/renderer/routes/_shell.tsx +++ b/frontend/src/renderer/routes/_shell.tsx @@ -46,7 +46,8 @@ function ShellLayout() { const workspaces = workspaceQuery.data ?? []; const daemonStatus = useDaemonStatus(queryClient); const { theme, setTheme, isSidebarOpen, toggleSidebar } = useUiStore(); - const isSessionRoute = Boolean(matchRoute({ to: "/projects/$projectId/sessions/$sessionId", fuzzy: true })) || + const isSessionRoute = + Boolean(matchRoute({ to: "/projects/$projectId/sessions/$sessionId", fuzzy: true })) || Boolean(matchRoute({ to: "/sessions/$sessionId", fuzzy: true })); const updateWorkspaces = useCallback(