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: explain paused Code Animation audio preview
[._.]/ Adam Eivy625214015c6a
diff --git a/client/src/components/codeAnimation/CodeAnimationPreview.jsx b/client/src/components/codeAnimation/CodeAnimationPreview.jsxindex ffef463e63..cdb8f5bdf6 100644--- a/client/src/components/codeAnimation/CodeAnimationPreview.jsx+++ b/client/src/components/codeAnimation/CodeAnimationPreview.jsx@@ -214,9 +214,10 @@ export default function CodeAnimationPreview({ html, audioUrl, messages, audioGl/>) : audioChoice == null ? (<div className="flex h-full flex-col items-center justify-center gap-3 p-5 text-center">+ <h3 className="text-base font-semibold text-white">Preview paused</h3><p className="max-w-xl text-sm text-gray-200">- This generated animation can navigate itself. If you provide its selected audio track, its code could send that track outside PortOS.- Continue only if you trust this animation.+ Choose whether to run this generated animation with its selected audio track. The preview is paused until you choose.+ The animation can navigate itself, so its code could send that track outside PortOS. Continue only if you trust it.</p><div className="flex flex-wrap justify-center gap-2"><buttondiff --git a/client/src/components/codeAnimation/CodeAnimationPreview.test.jsx b/client/src/components/codeAnimation/CodeAnimationPreview.test.jsxindex 2c7e91f7d1..648f53f23f 100644--- a/client/src/components/codeAnimation/CodeAnimationPreview.test.jsx+++ b/client/src/components/codeAnimation/CodeAnimationPreview.test.jsx@@ -82,6 +82,8 @@ describe('CodeAnimationPreview', () => {vi.stubGlobal('fetch', fetchMock);renderPreview({ audioUrl: '/api/uploads/audio/example.wav' });+ expect(screen.getByRole('heading', { name: 'Preview paused' })).toBeInTheDocument();+ expect(screen.getByText(/preview is paused until you choose/i)).toBeInTheDocument();expect(screen.getByText(/could send that track outside PortOS/i)).toBeInTheDocument();expect(fetchMock).not.toHaveBeenCalled();expect(screen.queryByTitle('Code animation preview')).not.toBeInTheDocument();