From d2d90aa67df549754baacf23906bdb4dbb770d9e Mon Sep 17 00:00:00 2001 From: PR Batch Tester Date: Thu, 22 Oct 2026 09:08:20 +0000 Subject: [PATCH 1/2] fix(web): subagent bar keeps model and status readable in narrow chat columns The bar was one row that only dropped "Runs on its own" below a 640px viewport. A narrow chat column squeezed the model and status down to a few letters on phones, and to nothing on desktop with the right panel docked. It now sizes from the composer: "Runs on its own" goes below 640px, the status moves under the model below 560px, and "Open parent" keeps only its icon below 320px. Closes #23474 Co-Authored-By: Claude Opus 5.5 --- .../components/chat/ProviderSubagentBar.tsx | 59 +++++++++++-------- 1 file changed, 33 insertions(+), 26 deletions(-) diff --git a/apps/web/src/components/chat/ProviderSubagentBar.tsx b/apps/web/src/components/chat/ProviderSubagentBar.tsx index 61d84314049a5..415bae9cd7336 100644 --- a/apps/web/src/components/chat/ProviderSubagentBar.tsx +++ b/apps/web/src/components/chat/ProviderSubagentBar.tsx @@ -42,40 +42,47 @@ export function ProviderSubagentBar(props: { return () => clearInterval(id); }, [live, status]); + // Sized by the composer, not the viewport: a docked side panel narrows the + // chat column on a wide window, and one row there squeezes out the model + // and status, so the status drops to its own line instead. return (
- - {props.provider ? ( - - ) : null} - {props.modelLabel} - {props.effortLabel === null ? null : ( - {props.effortLabel} - )} - - +
+ + {props.provider ? ( + + ) : null} + {props.modelLabel} + {props.effortLabel === null ? null : ( + {props.effortLabel} + )} + + +
{`${modelDescription} subagent: ${announcement}`} - Runs on its own + + Runs on its own + {props.onOpenParent ? ( ) : null}
From 3e443d4555b14b1556ef575552c35145f0d7a75e Mon Sep 17 00:00:00 2001 From: PR Batch Tester Date: Thu, 22 Oct 2026 09:17:52 +0000 Subject: [PATCH 2/2] fix(web): keep "Runs on its own" for screen readers in narrow subagent bars Co-Authored-By: Claude Opus 5.5 --- apps/web/src/components/chat/ProviderSubagentBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/chat/ProviderSubagentBar.tsx b/apps/web/src/components/chat/ProviderSubagentBar.tsx index 415bae9cd7336..da3777dba1f48 100644 --- a/apps/web/src/components/chat/ProviderSubagentBar.tsx +++ b/apps/web/src/components/chat/ProviderSubagentBar.tsx @@ -76,7 +76,7 @@ export function ProviderSubagentBar(props: { {`${modelDescription} subagent: ${announcement}`} - + Runs on its own {props.onOpenParent ? (