Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function ScheduledTaskPromptField(props: {
return (
<View className="gap-2 border-t border-border-subtle px-4 py-3">
<Text className="text-sm text-foreground-muted">Prompt</Text>
<View className="relative">
<View className="flex-row items-end">
<TextInput
accessibilityLabel="Prompt"
value={props.value}
Expand All @@ -42,18 +42,16 @@ export function ScheduledTaskPromptField(props: {
textAlignVertical="top"
placeholder="What should the agent do each time?"
placeholderTextColorClassName="accent-foreground-muted"
className="max-h-40 min-h-24 font-sans text-base text-foreground"
className="max-h-40 min-h-24 min-w-0 flex-1 font-sans text-base text-foreground"
/>
{showsIdleTrigger ? (
<View className="absolute right-0 bottom-0 rounded-full bg-card">
<ComposerDictationStartAction
state={voice.state}
isAvailable={voice.isAvailable}
disabled={props.disabled}
onStart={voice.start}
onCancel={voice.cancel}
/>
</View>
<ComposerDictationStartAction
state={voice.state}
isAvailable={voice.isAvailable}
disabled={props.disabled}
onStart={voice.start}
onCancel={voice.cancel}
/>
) : null}
</View>
<ComposerDictationError
Expand Down
Loading