From 12ccca5c93c980a4992b7b1419df4f1161ea26df Mon Sep 17 00:00:00 2001
From: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Date: Thu, 3 Sep 2026 23:53:11 +0000
Subject: [PATCH 1/2] fix(web): keep right panel controls clickable
---
apps/web/src/components/ChatView.tsx | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index 187bc1f5f984..b8055af5be18 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -1844,8 +1844,7 @@ function ChatViewContent(props: ChatViewProps) {
panelAnimationDurationMs,
);
const rightPanelPresent = rightPanelPresence.present;
- const rightPanelControlsInPanel =
- rightPanelPresent && (!shouldUseRightPanelSheet || rightPanelOpen);
+ const rightPanelControlsInPanel = rightPanelPresent && rightPanelOpen;
const renderedRightPanelSurface = rightPanelPresence.value?.activeSurface ?? null;
const renderedRightPanelSurfaces = rightPanelPresence.value?.surfaces ?? [];
const previewMiniPlayerVisible = shouldRenderPreviewMiniPlayer(
@@ -7411,6 +7410,15 @@ function ChatViewContent(props: ChatViewProps) {
{panelToggleControls}
);
+ const inlineRightPanelControls = (
+
+
+ {panelToggleControls}
+
+ );
const rightPanelContent = activeThreadRef ? (
renderedRightPanelSurface?.kind === "preview" ? (
@@ -7571,7 +7579,7 @@ function ChatViewContent(props: ChatViewProps) {
reserveNativeControls={reserveTitleBarControlInset && !inlineRightPanelOwnsTitleBar}
className="relative bg-background"
>
- {!shouldUseRightPanelSheet || !rightPanelControlsInPanel ? panelLayoutControls : null}
+ {!rightPanelControlsInPanel ? panelLayoutControls : null}
Date: Fri, 4 Sep 2026 00:24:27 +0000
Subject: [PATCH 2/2] fix(web): avoid duplicate titlebar padding
---
apps/web/src/components/RightPanelTabs.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/apps/web/src/components/RightPanelTabs.tsx b/apps/web/src/components/RightPanelTabs.tsx
index 8f1fff8dc728..7f68cd543107 100644
--- a/apps/web/src/components/RightPanelTabs.tsx
+++ b/apps/web/src/components/RightPanelTabs.tsx
@@ -990,7 +990,10 @@ export function RightPanelTabs(props: RightPanelTabsProps) {
// controls a few pixels higher and the cluster jumps on open.
props.mode === "inline" && !props.layoutControls ? "pr-28" : "pr-3",
ownsDesktopTitleBar && "drag-region",
- ownsDesktopTitleBar && "wco:pr-[calc(var(--workspace-native-controls-inset)+6rem)]",
+ ownsDesktopTitleBar &&
+ (props.layoutControls
+ ? "wco:pr-[var(--workspace-native-controls-inset)]"
+ : "wco:pr-[calc(var(--workspace-native-controls-inset)+6rem)]"),
props.mode === "inline" && props.maximized && COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS,
)}
data-right-panel-tabbar