()
| 4560 | setBrowserAiOpen(true); |
| 4561 | }; |
| 4562 | const showInspectorGraph = (): void => { |
| 4563 | const node = layout?.nodes.find(entry => inspector.symbol?.qualifiedName |
| 4564 | ? entry.qualified_name === inspector.symbol.qualifiedName |
| 4565 | : entry.file_path === inspector.filePath && (entry.label === 'File' || entry.label === 'Module')); |
| 4566 | if (node) { |
| 4567 | setGalaxySelection(node); |
| 4568 | setGalaxySelectionProject(project); |
| 4569 | changeWorkspace('galaxy'); |
| 4570 | } else { |
| 4571 | setGalaxyOn(true); |
| 4572 | if (inspector.symbol) followTarget(inspector.symbol); |
| 4573 | else if (inspector.filePath) openFile(inspector.filePath); |
| 4574 | } |
| 4575 | }; |
| 4576 | const selectedCode = <SelectedCodePanel {...inspector} |
| 4577 | selectionContext={<SelectionContextPanel graph={evidenceGraph} |
| 4578 | selected={inspector.symbol ? inspectorNode : undefined} path={inspector.filePath} |
nothing calls this directly
no test coverage detected