From f4707e0ad2ea6622fa4c314e943c6735a1d21f34 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 bc8d9b9857..8b781c7e3e 100644 --- a/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx +++ b/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx @@ -310,6 +310,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", @@ -329,6 +343,7 @@ const detachedWorktreeEnvironmentSummary: ReactNode = makeEnvironmentSummary({ status: "ready", }), host: localEnvironmentDisplayHost, + machineName: "Bersabel's MacBook Pro", environmentCheckout: formatWorkspaceCheckoutDisplay({ checkout: { kind: "detached", @@ -883,6 +898,7 @@ function StackedCardsWithPillsRow() { stack={contextBannerElement} queuedMessages={queuedMessages} contextWindowUsage={usage} + environmentSummary={remoteEnvironmentSummary} /> ); } @@ -895,6 +911,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 ( @@ -909,6 +928,7 @@ export function Overview() { submitMode={{ kind: "queue", onStop: noop }} threadRuntimeDisplayStatus="active" contextWindowUsage={usage} + environmentSummary={worktreeEnvironmentSummary} /> - + @@ -1001,6 +1028,7 @@ export function Overview() { loadError: null, }, }} + environmentSummary={detachedWorktreeEnvironmentSummary} /> - + @@ -1171,7 +1207,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 de2ad54a61..76a9f973a4 100644 --- a/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx +++ b/apps/app/src/components/promptbox/FollowUpPromptBox.stories.tsx @@ -861,9 +861,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 (