Skip to content

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

fix: address Copilot review feedback

[._.]/ Adam Eivyf5dfc3f2f431
diff --git a/client/src/components/meatspace/HealthCategorySection.jsx b/client/src/components/meatspace/HealthCategorySection.jsx
index a33d30e9e6..b7bde89de4 100644
--- a/client/src/components/meatspace/HealthCategorySection.jsx
+++ b/client/src/components/meatspace/HealthCategorySection.jsx
@@ -15,7 +15,7 @@ export default function HealthCategorySection({ category, from, to, expanded, on
const rangeKey = `${from}|${to}`;
useEffect(() => {
- if (!expanded || !from || !to) return;
+ if (!expanded || !from || !to || activeMetrics.length === 0) return;
if (lastRangeRef.current === rangeKey && Object.keys(metricData).length > 0) return;
let cancelled = false;
@@ -51,6 +51,8 @@ export default function HealthCategorySection({ category, from, to, expanded, on
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [expanded, rangeKey]);
+ if (activeMetrics.length === 0) return null;
+
return (
<div className="border border-port-border rounded-xl overflow-hidden">
<button
diff --git a/client/src/components/meatspace/post/MemoryPractice.jsx b/client/src/components/meatspace/post/MemoryPractice.jsx
index fef9e2d855..929683e9af 100644
--- a/client/src/components/meatspace/post/MemoryPractice.jsx
+++ b/client/src/components/meatspace/post/MemoryPractice.jsx
@@ -38,7 +38,8 @@ export default function MemoryPractice({ item, onBack, onComplete: _onComplete }
blankSet.add(Math.floor(Math.random() * fillBlankWords.length));
}
return blankSet;
- }, [mode, fillBlankWords.length]);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [mode, currentIdx, fillBlankWords.length]);
useEffect(() => {
if (mode && inputRef.current) inputRef.current.focus();