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(music-video): retarget the upstream frame-conditioning test and avoid a first-render ref latch (#9243)
Adam Eivycb823f18ef1e
diff --git a/client/src/components/musicVideo/MusicVideoLayout.jsx b/client/src/components/musicVideo/MusicVideoLayout.jsxindex dd758f2972..a47f5e6dc9 100644--- a/client/src/components/musicVideo/MusicVideoLayout.jsx+++ b/client/src/components/musicVideo/MusicVideoLayout.jsx@@ -85,9 +85,10 @@ export default function MusicVideoLayout({}, []);// A new tab starts at its top, not wherever the last one was scrolled to.- const firstStage = useRef(true);+ const shownStage = useRef(stage);useEffect(() => {- if (firstStage.current) { firstStage.current = false; return; }+ if (shownStage.current === stage) return;+ shownStage.current = stage;document.getElementById('main-content')?.scrollTo?.({ top: 0 });}, [stage]);diff --git a/client/src/pages/MusicVideo.test.jsx b/client/src/pages/MusicVideo.test.jsxindex 20f3d497b2..74a63b3983 100644--- a/client/src/pages/MusicVideo.test.jsx+++ b/client/src/pages/MusicVideo.test.jsx@@ -1798,7 +1798,7 @@ describe('MusicVideo visual spec, takes and handoff (#8965)', () => {{ id: 'mvr-cs-set-harbor', imageId: 'harbor.png', condition: true },{ id: 'mvr-cs-set-roof', imageId: 'roof.png', condition: false },] },- });+ }, 'board');fireEvent.click(screen.getByRole('button', { name: /^Generate frame$/ }));await waitFor(() => expect(generateImage).toHaveBeenCalledWith(expect.objectContaining({referenceImageFiles: ['character.png', 'roof.png'],