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: keep the dvh-relative mind chat height below the desktop breakpoint
Adam Eivy2af66c52323e
diff --git a/client/src/components/cos/tabs/MindTab.jsx b/client/src/components/cos/tabs/MindTab.jsxindex a6e668c098..a57b81d66e 100644--- a/client/src/components/cos/tabs/MindTab.jsx+++ b/client/src/components/cos/tabs/MindTab.jsx@@ -761,7 +761,7 @@ export default function MindTab() {{lifecycleError && <Banner className="shrink-0" tone="error" title="Action failed">{lifecycleError}</Banner>}<div className="grid min-h-0 flex-1 items-stretch gap-4 xl:grid-cols-[minmax(0,1fr)_19rem]">- <section data-testid="mind-chat" aria-label="Persistent mind chat" className="flex min-h-[30rem] flex-col overflow-hidden rounded-[1.5rem] border border-port-border bg-port-card shadow-lg shadow-black/10 sm:min-h-[34rem] xl:h-full xl:min-h-0">+ <section data-testid="mind-chat" aria-label="Persistent mind chat" className="flex h-[68dvh] min-h-[30rem] flex-col overflow-hidden rounded-[1.5rem] border border-port-border bg-port-card shadow-lg shadow-black/10 sm:min-h-[34rem] xl:h-full xl:min-h-0"><header className="flex shrink-0 items-center justify-between gap-3 border-b border-port-border bg-port-card/95 px-3 py-2.5 sm:px-4"><h3 className="flex items-center gap-2 text-sm font-medium text-port-text">Conversation {state?.status === 'thinking' && <MindTypingIndicator />}</h3><label htmlFor="mind-show-activity" className="flex shrink-0 items-center gap-2 rounded-full border border-port-border px-2.5 py-1.5 text-[11px] text-port-text-muted">diff --git a/client/src/components/cos/tabs/MindTab.test.jsx b/client/src/components/cos/tabs/MindTab.test.jsxindex 91db918773..0dc90556a7 100644--- a/client/src/components/cos/tabs/MindTab.test.jsx+++ b/client/src/components/cos/tabs/MindTab.test.jsx@@ -188,9 +188,11 @@ describe('MindTab', () => {await screen.findByText('Review the next bounded slice.');const chat = screen.getByTestId('mind-chat');+ // Desktop fills the leftover column height; narrower viewports keep the+ // dvh-relative box, and neither is capped by the old 54rem ceiling.expect(chat.className).toContain('xl:h-full');expect(chat.className).toContain('xl:min-h-0');- expect(chat.className).not.toMatch(/h-\[68dvh\]/);+ expect(chat.className).toContain('h-[68dvh]');expect(chat.className).not.toMatch(/max-h-\[54rem\]/);const message = within(chat).getByLabelText('Message');