feat: replace task lane X with PanelRightClose icon

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-03-28 23:02:14 +00:00
parent c6772c6607
commit c47b8d26e5

View File

@@ -1,7 +1,7 @@
import { useState, useEffect, useRef, useCallback } from 'react' import { useState, useEffect, useRef, useCallback } from 'react'
import { import {
Copy, Check, SkipForward, Terminal, ChevronDown, ChevronUp, Copy, Check, SkipForward, Terminal, ChevronDown, ChevronUp,
Send, Clipboard, Loader2, X, MessageCircleQuestion, Eye, Send, Clipboard, Loader2, PanelRightClose, MessageCircleQuestion, Eye,
} from 'lucide-react' } from 'lucide-react'
import { cn } from '@/lib/utils' import { cn } from '@/lib/utils'
import { toast } from '@/lib/toast' import { toast } from '@/lib/toast'
@@ -247,8 +247,8 @@ export function TaskLane({ questions, actions, sessionId, onSubmit, onClose, loa
{allHandled ? '✓ Ready' : `${doneCount}/${totalCount}`} {allHandled ? '✓ Ready' : `${doneCount}/${totalCount}`}
</span> </span>
</h3> </h3>
<button onClick={onClose} className="text-muted-foreground hover:text-heading transition-colors p-1"> <button onClick={onClose} className="text-muted-foreground hover:text-heading transition-colors p-1" title="Collapse tasks">
<X size={16} /> <PanelRightClose size={16} />
</button> </button>
</div> </div>