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: drop redundant shrink-0 utilities and tighten the layout test
Adam Eivyf4a634cd707c
diff --git a/client/src/components/cos/tabs/MindTab.jsx b/client/src/components/cos/tabs/MindTab.jsxindex a57b81d66e..a5e33cae28 100644--- a/client/src/components/cos/tabs/MindTab.jsx+++ b/client/src/components/cos/tabs/MindTab.jsx@@ -701,7 +701,7 @@ export default function MindTab() {return (<section aria-labelledby="mind-heading" className="mx-auto flex h-full min-h-0 w-full max-w-[100rem] flex-col gap-4 pb-4 xl:pb-0">- <header className="flex shrink-0 flex-col gap-3 rounded-2xl border border-port-border bg-port-card/70 p-3 sm:flex-row sm:items-center sm:justify-between sm:p-4">+ <header className="flex flex-col gap-3 rounded-2xl border border-port-border bg-port-card/70 p-3 sm:flex-row sm:items-center sm:justify-between sm:p-4"><div className="flex min-w-0 items-center gap-3"><span className="relative flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-port-accent/15 text-port-accent ring-1 ring-port-accent/30"><Brain size={23} aria-hidden="true" />@@ -737,7 +737,6 @@ export default function MindTab() {{callState?.active && (<Banner- className="shrink-0"tone="info"icon={PhoneCall}title="On a FaceTime Audio call"@@ -756,9 +755,9 @@ export default function MindTab() {</Banner>)}- {gap && <Banner className="shrink-0" tone="warning" title="History gap detected">The saved cursor is no longer retained. The visible trace was reloaded from the newest bounded snapshot.</Banner>}- {loadError && <Banner className="shrink-0" tone="error" title="Conversation unavailable">{loadError}. Existing messages are preserved; retry when the connection recovers.</Banner>}- {lifecycleError && <Banner className="shrink-0" tone="error" title="Action failed">{lifecycleError}</Banner>}+ {gap && <Banner tone="warning" title="History gap detected">The saved cursor is no longer retained. The visible trace was reloaded from the newest bounded snapshot.</Banner>}+ {loadError && <Banner tone="error" title="Conversation unavailable">{loadError}. Existing messages are preserved; retry when the connection recovers.</Banner>}+ {lifecycleError && <Banner 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 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">diff --git a/client/src/components/cos/tabs/MindTab.test.jsx b/client/src/components/cos/tabs/MindTab.test.jsxindex 0dc90556a7..1e877abc36 100644--- a/client/src/components/cos/tabs/MindTab.test.jsx+++ b/client/src/components/cos/tabs/MindTab.test.jsx@@ -195,10 +195,10 @@ describe('MindTab', () => {expect(chat.className).toContain('h-[68dvh]');expect(chat.className).not.toMatch(/max-h-\[54rem\]/);+ // AutoSizeTextarea sets the height from content, so the composer must not+ // be a hand-resized fixed box any more.const message = within(chat).getByLabelText('Message');- expect(message.tagName).toBe('TEXTAREA');expect(message).toHaveClass('resize-none');- expect(message).toHaveClass('overflow-hidden');expect(message.className).not.toMatch(/resize-y/);});