Skip to content

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

fix: require explicit launch video music generation selection

[._.]/ Adam Eivy8a7455c3e374
diff --git a/client/src/components/apps/LaunchVideoPanel.jsx b/client/src/components/apps/LaunchVideoPanel.jsx
index 3450854860..ecf4aca3d0 100644
--- a/client/src/components/apps/LaunchVideoPanel.jsx
+++ b/client/src/components/apps/LaunchVideoPanel.jsx
@@ -27,7 +27,7 @@ function LaunchVideoForm({ appId, onQueued }) {
const [format, setFormat] = useState('landscape');
const [duration, setDuration] = useState(20);
const [music, setMusic] = useState(false);
- const [generateMusic, setGenerateMusic] = useState(true);
+ const [generateMusic, setGenerateMusic] = useState(false);
const [musicTrack, setMusicTrack] = useState('');
const [tracks, setTracks] = useState(null);
const [error, setError] = useState('');
diff --git a/client/src/components/apps/LaunchVideoPanel.test.jsx b/client/src/components/apps/LaunchVideoPanel.test.jsx
index 83b26b21ac..d6ee835751 100644
--- a/client/src/components/apps/LaunchVideoPanel.test.jsx
+++ b/client/src/components/apps/LaunchVideoPanel.test.jsx
@@ -27,7 +27,6 @@ describe('launch video drawer', () => {
fireEvent.change(screen.getByLabelText('Format'), { target: { value: 'vertical' } });
fireEvent.change(screen.getByLabelText('Duration (15–120 seconds)'), { target: { value: '22' } });
fireEvent.click(screen.getByLabelText('Include music'));
- fireEvent.click(screen.getByLabelText('Generate original music'));
// Each track is identifiable by name + file and audible before choosing it.
const choice = await screen.findByRole('radio', { name: /Example track/ });
expect(screen.getByText(/track-1a2b\.wav/)).toBeTruthy();
@@ -53,7 +52,8 @@ describe('launch video drawer', () => {
renderPanel('/?launchVideo=true');
fireEvent.change(screen.getByLabelText('Duration (15–120 seconds)'), { target: { value: '90' } });
fireEvent.click(screen.getByLabelText('Include music'));
- expect(screen.getByLabelText('Generate original music').checked).toBe(true);
+ expect(screen.getByLabelText('Generate original music').checked).toBe(false);
+ fireEvent.click(screen.getByLabelText('Generate original music'));
fireEvent.click(screen.getByRole('button', { name: 'Queue launch video' }));
await waitFor(() => expect(createAppLaunchVideo).toHaveBeenCalledWith('example', expect.objectContaining({ targetDurationSec: 90, generateMusic: true }), { silent: true }));
expect(createAppLaunchVideo.mock.calls[0][1].musicTrack).toBeUndefined();