From 571ffe12081afd0c18803c06e1b90471752a8554 Mon Sep 17 00:00:00 2001 From: brsbl <57682038+brsbl@users.noreply.github.com> Date: Thu, 27 Aug 2026 07:37:42 +0000 Subject: [PATCH 1/2] Improve follow-up environment story coverage --- .../promptbox/FollowUpPromptBox.stories.tsx | 71 +++++++++++++++++-- 1 file changed, 67 insertions(+), 4 deletions(-) diff --git a/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx b/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx index b00fc08336..3f714b52f0 100644 --- a/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx +++ b/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx @@ -298,6 +298,20 @@ const remoteWorktreeEnvironmentSummary: ReactNode = makeEnvironmentSummary({ onCreateNewThreadInWorktree: noop, }); +const unmanagedWorktreeEnvironmentSummary: ReactNode = makeEnvironmentSummary({ + environment: makeEnvironment({ + name: "Linked review tree", + managed: false, + isWorktree: true, + workspaceProvisionType: "unmanaged", + status: "ready", + }), + host: localEnvironmentDisplayHost, + machineName: "Bersabel's MacBook Pro", + branchName: STORY_BRANCH_NAME, + onCreateNewThreadInWorktree: noop, +}); + const namedWorktreeEnvironmentSummary: ReactNode = makeEnvironmentSummary({ environment: makeEnvironment({ name: "Design system polish", @@ -317,6 +331,7 @@ const detachedWorktreeEnvironmentSummary: ReactNode = makeEnvironmentSummary({ status: "ready", }), host: localEnvironmentDisplayHost, + machineName: "Bersabel's MacBook Pro", environmentCheckout: formatWorkspaceCheckoutDisplay({ checkout: { kind: "detached", @@ -842,6 +857,7 @@ function StackedCardsWithPillsRow() { stack={contextBannerElement} queuedMessages={queuedMessages} contextWindowUsage={usage} + environmentSummary={remoteEnvironmentSummary} /> ); } @@ -854,6 +870,9 @@ export function ControlEmphasis() { ); } +// This catalog is intentionally mixed across direct/worktree and local/remote +// environments. Leaving every functional row on Row's local default hides the +// environment icon and label variants this overview is meant to expose. export function Overview() { return ( @@ -868,6 +887,7 @@ export function Overview() { submitMode={{ kind: "queue", onStop: noop }} threadRuntimeDisplayStatus="active" contextWindowUsage={usage} + environmentSummary={worktreeEnvironmentSummary} /> - + @@ -960,6 +987,7 @@ export function Overview() { loadError: null, }, }} + environmentSummary={detachedWorktreeEnvironmentSummary} /> - + @@ -1130,7 +1166,7 @@ export function EnvironmentMatrix() { + + + + + + + + + Date: Fri, 28 Aug 2026 17:31:46 -0700 Subject: [PATCH 2/2] Remove stale story comments --- .../app/src/components/promptbox/FollowUpPromptBox.stories.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx b/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx index 3f714b52f0..2131552d11 100644 --- a/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx +++ b/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx @@ -870,9 +870,6 @@ export function ControlEmphasis() { ); } -// This catalog is intentionally mixed across direct/worktree and local/remote -// environments. Leaving every functional row on Row's local default hides the -// environment icon and label variants this overview is meant to expose. export function Overview() { return (