Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): remote delegated tasks surface their questions and approvals on the parent #26344

ClosedSilthus(GitHub profile, opens in a new tab)wants to merge 11 commits intomain fromrefs/pull/26344/headopened View on GitHub

Showing 44 changed files with 17 additions and 1 deletion (loading 41).

x
0 of 44 viewed, 44 left
5 additions and 0 deletionsapps/mobile/src/features/threads/PendingApprovalCard.tsxModified
View file
@@ -45,6 +45,11 @@
<Text className="font-t3-bold text-lg text-foreground">
{props.approval.appName ?? props.approval.requestKind}
</Text>
+ {props.approval.remoteEnvironmentLabel ? (
+ <Text className="font-sans text-xs leading-normal text-foreground-muted">
+ Delegated task on {props.approval.remoteEnvironmentLabel}
+ </Text>
+ ) : null}
{props.approval.detail ? (
<Text className="font-sans text-sm leading-normal text-foreground-secondary">
{props.approval.detail}
6 additions and 0 deletionsapps/mobile/src/features/threads/PendingUserInputCard.tsxModified
View file
@@ -213,6 +213,11 @@
run to continue.
</Text>
) : null}
+ {props.pendingUserInput.remoteEnvironmentLabel ? (
+ <Text className="font-sans text-xs leading-normal text-foreground-muted">
+ Delegated task on {props.pendingUserInput.remoteEnvironmentLabel}
+ </Text>
+ ) : null}
{props.pendingUserInput.questions.map((question) => {
const draft = props.drafts[question.id];
return (
@@ -271,6 +276,7 @@