File tree Expand file tree Collapse file tree
frontend/src/components/DependencyGraph Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,11 +7,7 @@ import {
77 FileText ,
88 TestTube2 ,
99 Settings ,
10- File ,
11- AlertTriangle ,
12- Flame ,
13- CheckCircle2 ,
14- CircleAlert
10+ File
1511} from 'lucide-react'
1612import { cn } from '@/lib/utils'
1713import { Badge } from '@/components/ui/badge'
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ interface ImpactPanelProps {
2525 onClose : ( ) => void
2626 onFileClick : ( fileId : string ) => void
2727 onFileHover : ( fileId : string | null ) => void
28- onAnalyzeInSearch ?: ( fileId : string ) => void
28+ onAnalyzeInSearch ?: ( fullPath : string ) => void
2929}
3030
3131const RISK_CONFIG : Record < RiskLevel , {
@@ -132,6 +132,7 @@ function CollapsibleSection({
132132 < div className = "border-t border-zinc-200 dark:border-zinc-800 pt-3" >
133133 < button
134134 onClick = { ( ) => setIsOpen ( ! isOpen ) }
135+ aria-expanded = { isOpen }
135136 className = "w-full flex items-center gap-2 text-left hover:bg-zinc-100 dark:hover:bg-zinc-800/50 -mx-2 px-2 py-1 rounded transition-colors"
136137 >
137138 { isOpen ? (
You can’t perform that action at this time.
0 commit comments