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

Function text

graph-ui/tools/handtest-fixes-k27.mjs:80–80  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

78 const root = document.querySelector('.atlas-architecture');
79 if (!root) return null;
80 const text = (element) => element?.textContent?.replace(/\s+/g, ' ').trim() ?? null;
81 const history = root.querySelector('[role="group"][aria-label="Architecture history"]');
82 const button = (label) => { const element = history?.querySelector(`button[aria-label="${label}"]`); return element ? { disabled: element.disabled, title: element.getAttribute('title') } : null; };
83 const location = root.querySelector('[aria-label="Architecture location"]');

Callers 1

stateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected