@devries-cameron20 / t3code-1 / commits / 68966c1e66
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): add space above composer task tabs (#7740)

Bilal Bakr committed Aug 21, 2026 at 04:17 UTC 68966c1e6603d6f5d52a4ee227e2b0ee03b7109f
1 file changed +14 -11
apps/web/src/components/chat/ChatComposer.tsx
+14 -11
@@ -2362,6 +2362,17 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
2362 steps={visibleTaskSteps}
2363 />
2364 ) : null;
2365 + const showShoulderTabs =
2366 + !props.externalDrawerAttached &&
2367 + !showComposerTopDrawer &&
2368 + !isTasksDrawerOpen &&
2369 + !isComposerCollapsedMobile;
2370 + const hasShoulderTab =
2371 + showShoulderTabs &&
2372 + (stashQueue.length > 0 ||
2373 + (visibleTasksProgress !== null &&
2374 + visibleTaskSteps !== null &&
2375 + visibleTasksProgress.totalSteps > 0));
2376 useEffect(() => {
2377 if (visibleTasksProgress === null || visibleTaskSteps === null) {
2378 setIsTasksDrawerOpen(false);
@@ -2813,7 +2824,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
2824 onDragOverCapture={composerMentionDragHandlers.onDragOver}
2825 onDragLeaveCapture={onComposerMentionDragLeaveCapture}
2826 onDropCapture={composerMentionDragHandlers.onDrop}
2816 - className="mx-auto w-full min-w-0 max-w-3xl"
2827 + className={cn("mx-auto w-full min-w-0 max-w-3xl", hasShoulderTab && "pt-7")}
2828 data-chat-composer-form="true"
2829 >
2830 {showComposerTopDrawer && (!isTasksDrawerOpen || hasBlockingComposerTopDrawer) ? (
@@ -2939,12 +2950,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
2950 />
2951 ) : null}
2952 <div className="relative">
2942 - {visibleTasksProgress &&
2943 - visibleTaskSteps &&
2944 - !isTasksDrawerOpen &&
2945 - !props.externalDrawerAttached &&
2946 - !showComposerTopDrawer &&
2947 - !isComposerCollapsedMobile ? (
2953 + {showShoulderTabs && visibleTasksProgress && visibleTaskSteps ? (
2954 <ComposerTasksBadge
2955 expanded={false}
2956 hasTrailingShoulder={stashQueue.length > 0}
@@ -2954,10 +2960,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
2960 steps={visibleTaskSteps}
2961 />
2962 ) : null}
2957 - {!props.externalDrawerAttached &&
2958 - !showComposerTopDrawer &&
2959 - !isTasksDrawerOpen &&
2960 - !isComposerCollapsedMobile ? (
2963 + {showShoulderTabs ? (
2964 <ComposerStashBadge
2965 count={stashQueue.length}
2966 menuOpen={isStashMenuOpen}