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

Function navigate

graph-ui/src/settings/ConfigPanel.tsx:101–101  ·  view source on GitHub ↗
(action: () => void)

Source from the content-addressed store, hash-verified

99 finally { pending.current = false; if (ticket === generation.current) setSaving(false); }
100 };
101 const navigate = (action: () => void) => { if (count) { setError('Save or discard your daemon changes before opening another settings panel.'); return; } action(); };
102 const panel = <div className={`cbm-config-dialog${embedded ? ' cbm-config-embedded' : ''}`} ref={dialog} role={embedded ? 'region' : 'dialog'} aria-modal={embedded ? undefined : true} aria-labelledby="cbm-config-title" tabIndex={embedded ? undefined : -1} onKeyDown={embedded ? undefined : keyDown}>
103 <header className="cbm-config-heading"><div><h2 id="cbm-config-title">{embedded ? 'Configuration' : CONFIG_TEXT.title}</h2><p>Daemon settings and browser preferences</p></div>{!embedded && <button type="button" onClick={close} disabled={saving} aria-label={CONFIG_TEXT.close}>×</button>}</header>
104 <nav className="cbm-config-categories" aria-label="Configuration categories">{[...categories, 'browser', 'reference'].map(value => <button type="button" key={value} aria-pressed={activeCategory === value} onClick={() => setCategory(value)}>{value === 'reference' ? 'External inputs' : title(value)}</button>)}</nav>

Callers 3

ConfigPanelFunction · 0.70
useArchitectureHistoryFunction · 0.50
ArchitectureWorkspaceFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected