Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
refactor: hoist the graph detail-panel body out of the JSX so it computes once (#4105)
[._.]/ Adam Eivy4a0d7d40e3ac
diff --git a/client/src/components/brain/tabs/BrainGraph.jsx b/client/src/components/brain/tabs/BrainGraph.jsxindex ef1fa3bd38..0cebd66f7b 100644--- a/client/src/components/brain/tabs/BrainGraph.jsx+++ b/client/src/components/brain/tabs/BrainGraph.jsx@@ -267,6 +267,9 @@ export default function BrainGraph() {}).filter(Boolean): [];+ // Prose the detail panel renders for the loaded record (see recordBody).+ const detailBody = recordBody(fullRecord);+// Fetch full brain record when a node is selecteduseEffect(() => {if (!selectedNode) { setFullRecord(null); return; }@@ -704,9 +707,9 @@ export default function BrainGraph() {<div className="mb-3">{fullRecord ? (<div className="space-y-3">- {recordBody(fullRecord) && (+ {detailBody && (<p className="text-sm text-gray-300 whitespace-pre-wrap">- {recordBody(fullRecord)}+ {detailBody}</p>)}{typeof fullRecord.progress === 'number' && (