Task attempt ed00b339-eaec-4c8f-b4f5-79504e6105c6 - Final changes

This commit is contained in:
Louis Knight-Webb
2025-06-24 17:34:31 +01:00
parent 5da3d5862f
commit bca39efbfc

View File

@@ -20,7 +20,7 @@ import { Button } from "@/components/ui/button";
import { Alert, AlertDescription } from "@/components/ui/alert"; import { Alert, AlertDescription } from "@/components/ui/alert";
import { Label } from "@/components/ui/label"; import { Label } from "@/components/ui/label";
import { Chip } from "@/components/ui/chip"; import { Chip } from "@/components/ui/chip";
import { Textarea } from "@/components/ui/textarea"; import { FileSearchTextarea } from "@/components/ui/file-search-textarea";
import { import {
Tooltip, Tooltip,
TooltipContent, TooltipContent,
@@ -1236,11 +1236,11 @@ export function TaskDetailsPanel({
</Alert> </Alert>
)} )}
<div className="flex gap-2"> <div className="flex gap-2">
<Textarea <FileSearchTextarea
placeholder="Ask a follow-up question about this task..." placeholder="Ask a follow-up question about this task... Type @ to search files."
value={followUpMessage} value={followUpMessage}
onChange={(e) => { onChange={(value) => {
setFollowUpMessage(e.target.value); setFollowUpMessage(value);
if (followUpError) setFollowUpError(null); if (followUpError) setFollowUpError(null);
}} }}
onKeyDown={(e) => { onKeyDown={(e) => {
@@ -1257,6 +1257,8 @@ export function TaskDetailsPanel({
}} }}
className="flex-1 min-h-[60px] resize-none" className="flex-1 min-h-[60px] resize-none"
disabled={!canSendFollowUp} disabled={!canSendFollowUp}
projectId={projectId}
rows={3}
/> />
<Button <Button
onClick={handleSendFollowUp} onClick={handleSendFollowUp}