From 3e2c1a66f74f0a45768332c360cd3682f61129e1 Mon Sep 17 00:00:00 2001 From: oliver <97427849+flamboh@users.noreply.github.com> Date: Thu, 3 Sep 2026 19:04:40 -0700 Subject: [PATCH] fix(web): thread error banner no longer shifts the chat (#9473) --- apps/web/src/components/ChatView.tsx | 20 +++++++++---------- .../src/components/chat/ThreadErrorBanner.tsx | 9 +++++++-- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 22e1ccd58e5f8f511572c950ec815861c11e4891..0141dd4903fc7b187473883354c5342a72b24c1d 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -7694,14 +7694,6 @@ function ChatViewContent(props: ChatViewProps) { /> - { - setThreadError(activeThread.id, null); - dismissThreadErrorBannerForSession(threadErrorBannerKey); - setThreadErrorBannerDismissTick((tick) => tick + 1); - }} - /> {/* Main content area with optional plan sidebar */}
{/* Chat column */} @@ -7727,13 +7719,21 @@ function ChatViewContent(props: ChatViewProps) {
) : null} - {/* Provider status overlays the timeline without changing its content height. */} -
+ {/* Banners overlay the timeline without changing its content height. */} +
setDismissedProviderStatusBannerKey(providerStatusBannerKey)} onOpenProviderSetup={openProviderSetup} /> + { + setThreadError(activeThread.id, null); + dismissThreadErrorBannerForSession(threadErrorBannerKey); + setThreadErrorBannerDismissTick((tick) => tick + 1); + }} + />
{/* Messages Wrapper */}
diff --git a/apps/web/src/components/chat/ThreadErrorBanner.tsx b/apps/web/src/components/chat/ThreadErrorBanner.tsx index 62b211c3f8560806bd53c6428d1810ee11beff34..29a6a6db18462080a87a79afb205bcb1251de9e8 100644 --- a/apps/web/src/components/chat/ThreadErrorBanner.tsx +++ b/apps/web/src/components/chat/ThreadErrorBanner.tsx @@ -42,8 +42,13 @@ export const ThreadErrorBanner = memo(function ThreadErrorBanner({ }) { if (!error) return null; return ( -
- +
+ -- 2.54.0