(scope: SelectionScope | undefined)
| 4540 | * the scope but behind that cap is still a valid selection here. |
| 4541 | */ |
| 4542 | const galaxySelectionPanel = (scope: SelectionScope | undefined) => { |
| 4543 | const raw = galaxySelectionProject === project ? galaxySelection : undefined; |
| 4544 | const inScope = raw && scope?.graph.nodes.some(node => raw.qualified_name |
| 4545 | ? node.qualified_name === raw.qualified_name && node.file_path === raw.file_path : node.id === raw.id); |
| 4546 | const selected = inScope ? raw : activeGalaxySelection; |
| 4547 | if (!selected) return selectionUnavailable ? <p role="status" className="repo-map-note">{selectionUnavailableText}</p> : undefined; |
| 4548 | return <SelectionContextPanel graph={evidenceGraph} selected={selected} scope={scope} |
| 4549 | path={selected.file_path ?? ''} agents={experimentalAgentsEnabled ? agents.state : undefined} onNavigate={navigateEvidence} />; |
| 4550 | }; |
| 4551 | const followInspectorTarget = (target: SymbolRef): void => { |
| 4552 | setPinnedCode(undefined); |
| 4553 | followTarget(target); |
nothing calls this directly
no outgoing calls
no test coverage detected