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
fix: close the OpenClaw session panel when the active session is re-tapped (#3792)
[._.]/ Adam Eivy61ddfebfc5a6
diff --git a/client/src/pages/OpenClaw.jsx b/client/src/pages/OpenClaw.jsxindex c00b237d96..992533d7bd 100644--- a/client/src/pages/OpenClaw.jsx+++ b/client/src/pages/OpenClaw.jsx@@ -259,15 +259,14 @@ export default function OpenClaw() {}, [loadMessages, selectedSessionId, status?.configured]);const handleSelectSession = useCallback((sessionId) => {- if (sending || sessionId === selectedSessionIdRef.current) return;- setSelectedSessionId(sessionId);+ if (sending) return;+ // Re-tapping the active session is still a dismissal of the mobile panel,+ // so the side panel closes even when the selection doesn't change.+ if (sessionId !== selectedSessionIdRef.current) setSelectedSessionId(sessionId);setShowSidePanel(false);}, [sending]);- const activeContextCount = useMemo(- () => Object.values(context).filter(value => String(value || '').trim()).length,- [context]- );+ const activeContextCount = Object.values(context).filter(value => String(value || '').trim()).length;const handleComposerKeyDown = (event) => {if ((event.metaKey || event.ctrlKey) && event.key === 'Enter') {