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(music-video): omit media type parenthetical in project dropdown and reduce actions bottom padding

[._.]/ Adam Eivy66952318bb20
diff --git a/client/src/pages/MusicVideo.jsx b/client/src/pages/MusicVideo.jsx
index df43399644..080202f62f 100644
--- a/client/src/pages/MusicVideo.jsx
+++ b/client/src/pages/MusicVideo.jsx
@@ -98,6 +98,13 @@ const emptyCreateForm = () => ({
name: '', mode: 'autonomous', trackId: '', universeId: '', moodBoardId: '', automation: automationDraftFrom(null),
});
+// Format project label for the header dropdown: omit trailing media type parentheticals
+// like "(experimental, images)" or "(revision)" so the title remains clean.
+function formatProjectPickerLabel(name) {
+ if (typeof name !== 'string') return '';
+ return name.replace(/\s*\([^)]*\)$/, '').trim();
+}
+
// Why the autopilot kickoff can't run yet, or null when it can.
function autopilotBlocker(project) {
if (!project) return null;
@@ -1227,13 +1234,13 @@ export default function MusicVideo() {
>
<option value="">{loading ? 'Loading projects…' : 'Select a project…'}</option>
{sortedProjects.map((project) => (
- <option key={project.id} value={project.id}>{project.name}</option>
+ <option key={project.id} value={project.id}>{formatProjectPickerLabel(project.name)}</option>
))}
</select>
{selected && (
<details className="min-w-0">
<summary className="min-h-[44px] cursor-pointer rounded border border-port-border px-2 py-1.5 text-sm">Project actions · v{selected.version || 1}</summary>
- <div className="flex flex-wrap items-center gap-1 py-2">
+ <div className="flex flex-wrap items-center gap-1 pt-1.5 pb-0">
<button
type="button"
onClick={handleRename}
diff --git a/client/src/pages/MusicVideo.test.jsx b/client/src/pages/MusicVideo.test.jsx
index 6cb73ba670..20e08ae4fb 100644
--- a/client/src/pages/MusicVideo.test.jsx
+++ b/client/src/pages/MusicVideo.test.jsx
@@ -1362,6 +1362,25 @@ describe('MusicVideo project versions', () => {
await screen.findByRole('heading', { level: 2, name: 'Neon Run v2' });
expect(screen.getByText('Project actions · v2')).toBeTruthy();
});
+
+ it('omits media type parenthetical in the project picker options and compacts actions padding', async () => {
+ const parentheticalProject = {
+ ...PROJECT_WITH_CLIP,
+ id: 'mv-exp',
+ name: 'You Are the Room - Blueprint v7 (experimental, images)',
+ };
+ await openProject(parentheticalProject);
+
+ const picker = await screen.findByLabelText('Project');
+ const option = Array.from(picker.options).find((opt) => opt.value === 'mv-exp');
+ expect(option).toBeDefined();
+ expect(option?.textContent).toBe('You Are the Room - Blueprint v7');
+
+ const actionsSummary = screen.getByText(/^Project actions ·/);
+ const actionsContent = actionsSummary.parentElement?.querySelector('div');
+ expect(actionsContent).toHaveClass('pt-1.5');
+ expect(actionsContent).toHaveClass('pb-0');
+ });
});
describe('MusicVideo audio preview + download', () => {