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: preserve hosted join main landmark (#5499)
[._.]/ Adam Eivydf6ce78411e8
diff --git a/client/src/pages/FableLoomHostedJoin.jsx b/client/src/pages/FableLoomHostedJoin.jsxindex 66f0030bf1..8787162b89 100644--- a/client/src/pages/FableLoomHostedJoin.jsx+++ b/client/src/pages/FableLoomHostedJoin.jsx@@ -175,18 +175,18 @@ export default function FableLoomHostedJoin() {if (authError) {return (- <div className="h-dvh-screen bg-slate-950 text-white flex flex-col items-center justify-center p-6 text-center">+ <main className="h-dvh-screen bg-slate-950 text-white flex flex-col items-center justify-center p-6 text-center"><div className="w-16 h-16 rounded-full bg-red-500/10 border border-red-500/20 flex items-center justify-center mb-4"><AlertCircle className="w-8 h-8 text-red-400" /></div><h1 className="text-xl font-bold mb-2">Hosted Play Error</h1><p className="text-slate-400 text-sm max-w-xs">{authError}</p>- </div>+ </main>);}return (- <div className="h-dvh-screen bg-slate-950 text-white flex flex-col justify-between max-w-md mx-auto relative overflow-hidden shadow-2xl">+ <main className="h-dvh-screen bg-slate-950 text-white flex flex-col justify-between max-w-md mx-auto relative overflow-hidden shadow-2xl"><audio ref={audioPlayerRef} className="hidden" />{/* Header */}@@ -314,6 +314,6 @@ export default function FableLoomHostedJoin() {</button></form></div>- </div>+ </main>);}diff --git a/client/src/pages/FableLoomHostedJoin.test.jsx b/client/src/pages/FableLoomHostedJoin.test.jsxindex e2b6670283..0f63b55076 100644--- a/client/src/pages/FableLoomHostedJoin.test.jsx+++ b/client/src/pages/FableLoomHostedJoin.test.jsx@@ -25,7 +25,8 @@ describe('FableLoomHostedJoin', () => {expect(screen.getByText('Hosted Play Error')).toBeInTheDocument();expect(screen.getByText(/Invalid or missing join credentials/i)).toBeInTheDocument();- const shell = screen.getByRole('heading', { name: 'Hosted Play Error' }).parentElement;+ const shell = screen.getByRole('main');+ expect(shell).toContainElement(screen.getByRole('heading', { name: 'Hosted Play Error' }));expect(shell).toHaveClass('h-dvh-screen');expect(shell).not.toHaveClass('min-h-screen');});@@ -48,7 +49,7 @@ describe('FableLoomHostedJoin', () => {window.location.hash = '#session=sess-123&token=tok-abc';render(<FableLoomHostedJoin />);- const shell = screen.getByRole('banner').parentElement;+ const shell = screen.getByRole('main');expect(shell).toHaveClass('h-dvh-screen', 'overflow-hidden');expect(shell).not.toHaveClass('min-h-screen');