MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / Quote

Function Quote

graph-ui/src/architecture/RepositoryMap.tsx:49–52  ·  view source on GitHub ↗
({ quote, onNavigate }: { quote: SourceQuote; onNavigate: RepositoryMapProps['onNavigate'] })

Source from the content-addressed store, hash-verified

47}
48
49function Quote({ quote, onNavigate }: { quote: SourceQuote; onNavigate: RepositoryMapProps['onNavigate'] }) {
50 return <div className="repo-map-quote"><span className="repo-map-eyebrow">{quote.kind === 'readme' ? 'Project README' : 'Source documentation'} · author description</span>
51 <blockquote>{quote.text}</blockquote><button onClick={() => onNavigate(quote.path, quote.line)}>Source: {quote.path}:{quote.line}</button></div>;
52}
53
54export default function RepositoryMapView({ graph, overview, filter, onNavigate, onSelect, selection, selectionPanel, graphNote, readSource }: RepositoryMapProps) {
55 const map = useMemo(() => graph ? repositoryMap(graph) : undefined, [graph]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected