From 93cd0743feaf5b054410cc32cbd32c9a832f8673 Mon Sep 17 00:00:00 2001 From: "(CJ) Chukwudi Nwobodo" <142016413+chuks-qua@users.noreply.github.com> Date: Thu, 24 Sep 2026 08:58:48 +0100 Subject: [PATCH] fix(web): constrain preparing shell to the primary content rail The preparing view stretched to full pane width while the composer and chat content stay on PRIMARY_CONTENT_RAIL_CLASS, so the startup card rendered wider than the composer on wide panes. --- .../messages/chat-view/ChatViewSurface.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/web/src/features/conversation/messages/chat-view/ChatViewSurface.tsx b/apps/web/src/features/conversation/messages/chat-view/ChatViewSurface.tsx index 2aa48a4ea..b55c3050f 100644 --- a/apps/web/src/features/conversation/messages/chat-view/ChatViewSurface.tsx +++ b/apps/web/src/features/conversation/messages/chat-view/ChatViewSurface.tsx @@ -20,6 +20,7 @@ import { SidebarRevealButton } from "@/components/sidebar/SidebarRevealButton"; import { useWorkspaceStore } from "@/features/projects/state/workspaceStore"; import type { SelectedTextCommentEditorDraft } from "@/stores/composerDraftStore"; import { useComposerDraftStore } from "@/stores/composerDraftStore"; +import { PRIMARY_CONTENT_RAIL_CLASS } from "@/lib/layout-rails"; import { ProjectAutomaticSetupCard, useProjectAutomaticSetup } from "@/features/projects/environment"; import { ProjectCommandApprovalDialog } from "@/features/projects/environment/ProjectCommandApprovalDialog"; import { StartupProgressCard, useThreadStartup, type StartupDisplayContext } from "@/features/thread-startup"; @@ -294,11 +295,13 @@ function ThreadPreparingShell({ return (
{pendingStartup?.queuedMessage || thread.title}
{pendingStartup?.queuedMessage || thread.title}