Skip to content

Commit 09ffd20

Browse files
Silthusclaude
andcommitted
fix: remote task questions name their environment
The question card on web and mobile says which environment's delegated task asks it, as the approval row already does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent a3cf143 commit 09ffd20

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎apps/mobile/src/features/threads/PendingUserInputCard.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ export function PendingUserInputCard(props: PendingUserInputCardProps) {
213213
run to continue.
214214
</Text>
215215
) : null}
216+
{props.pendingUserInput.remoteEnvironmentLabel ? (
217+
<Text className="font-sans text-xs leading-normal text-foreground-muted">
218+
Delegated task on {props.pendingUserInput.remoteEnvironmentLabel}
219+
</Text>
220+
) : null}
216221
{props.pendingUserInput.questions.map((question) => {
217222
const draft = props.drafts[question.id];
218223
return (

‎apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,14 @@ const ComposerPendingUserInputCard = memo(function ComposerPendingUserInputCard(
196196
>
197197
<ComposerBanner.Content>
198198
<span className="shrink-0 text-muted-foreground">{activeQuestion.header}</span>
199+
{prompt.remoteEnvironmentLabel ? (
200+
<>
201+
<ComposerBanner.Separator />
202+
<span className="shrink-0 text-muted-foreground">
203+
Delegated task on {prompt.remoteEnvironmentLabel}
204+
</span>
205+
</>
206+
) : null}
199207
{isCollapsed ? (
200208
<>
201209
<ComposerBanner.Separator />

0 commit comments

Comments
 (0)