From 4787b8f9b92ac368965b2dfe47d6f9ba10d0585c Mon Sep 17 00:00:00 2001 From: AviPeltz Date: Tue, 28 Jul 2026 00:08:41 -0700 Subject: [PATCH] fix(desktop): remove empty top strip on automations, tasks, and workspaces views With the expanded v2 sidebar hosting the traffic lights and nav, the TopBar rendered as a fully empty 48px strip above these views. Hide it there (matching the workspace and new-workspace routes) and add window-drag filler leaves to each view's own header so the window stays draggable. Claude-Session: https://claude.ai/code/session_015PEPRDMRZobovARaZiBHgd --- .../AutomationDetailHeader.tsx | 3 +++ .../_authenticated/_dashboard/automations/page.tsx | 3 +++ .../routes/_authenticated/_dashboard/layout.tsx | 12 +++++++++--- .../components/TaskDetailHeader/TaskDetailHeader.tsx | 2 ++ .../TasksView/components/TasksTopBar/TasksTopBar.tsx | 3 +++ .../_dashboard/tasks/issue/$issueNumber/page.tsx | 2 ++ .../_dashboard/tasks/pr/$prNumber/page.tsx | 2 ++ .../V2WorkspacesHeader/V2WorkspacesHeader.tsx | 3 +++ 8 files changed, 27 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/$automationId/components/AutomationDetailHeader/AutomationDetailHeader.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/$automationId/components/AutomationDetailHeader/AutomationDetailHeader.tsx index f40218bb17b..ca56a2f65c3 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/$automationId/components/AutomationDetailHeader/AutomationDetailHeader.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/$automationId/components/AutomationDetailHeader/AutomationDetailHeader.tsx @@ -51,6 +51,9 @@ export function AutomationDetailHeader({ + {/* Window-drag leaf standing in for the hidden TopBar. */} +
+
diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx index 21d30dce24f..3107a842652 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx @@ -295,6 +295,9 @@ function AutomationsPage() {
+ {/* Window-drag leaf standing in for the hidden TopBar. */} +
+
{task.slug} + {/* Window-drag leaf standing in for the hidden TopBar. */} +
{task.externalUrl && ( + {/* Window-drag leaf standing in for the hidden TopBar. */} +
+ {/* Right side: create + view toggle + search */}