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: keep music-video Publish in compact mobile stage navigation
[._.]/ Adam Eivy4308109f4b66
diff --git a/client/src/components/musicVideo/MusicVideoLayout.jsx b/client/src/components/musicVideo/MusicVideoLayout.jsxindex a47f5e6dc9..54bda05e0a 100644--- a/client/src/components/musicVideo/MusicVideoLayout.jsx+++ b/client/src/components/musicVideo/MusicVideoLayout.jsx@@ -1,7 +1,7 @@import { useEffect, useRef, useState } from 'react';import {AlertTriangle, ArrowRight, CheckCircle2, Circle, CircleDot, Clapperboard, Film, Layers, LayoutGrid, Music, Play,- SlidersHorizontal, Users,+ Send, SlidersHorizontal, Users,} from 'lucide-react';import TabPills from '../ui/TabPills.jsx';import Pill from '../ui/Pill.jsx';@@ -12,6 +12,7 @@ import { formatUsd } from '../../utils/formatters.js';// repeated glyph would be a repeated destination.const STAGE_ICONS = {setup: SlidersHorizontal, 'cast-sets': Users, board: LayoutGrid, produce: Clapperboard, compose: Layers, review: Film,+ publish: Send,};const STATE_MARKS = {done: { Icon: CheckCircle2, cls: 'text-port-success', label: 'done' },diff --git a/client/src/components/musicVideo/MusicVideoLayout.test.jsx b/client/src/components/musicVideo/MusicVideoLayout.test.jsxnew file mode 100644index 0000000000..754a9f1c99--- /dev/null+++ b/client/src/components/musicVideo/MusicVideoLayout.test.jsx@@ -0,0 +1,20 @@+import { describe, expect, it } from 'vitest';+import { render, screen, within } from '@testing-library/react';+import MusicVideoLayout from './MusicVideoLayout.jsx';+import { MUSIC_VIDEO_STAGES } from '../../lib/musicVideoStages.js';++describe('music-video stage navigation', () => {+ it('keeps every fixed stage in the compact icon row after adding Publish', () => {+ render(<MusicVideoLayout project={{ id: 'example-project', name: 'Example Project' }} stage="publish"+ onStageChange={() => {}} progress={{ current: 'publish', stages: MUSIC_VIDEO_STAGES.map((stage) => ({ ...stage, state: 'todo' })) }}+ spend={{ spentUsd: 0 }} />);+ const navigation = within(screen.getByRole('navigation', { name: 'Stages' }));+ expect(navigation.queryByRole('combobox')).not.toBeInTheDocument();+ const tabs = navigation.getAllByRole('tab');+ expect(tabs).toHaveLength(MUSIC_VIDEO_STAGES.length);+ const icons = tabs.map((tab) => tab.querySelector('svg')?.getAttribute('class'));+ expect(icons.every(Boolean)).toBe(true);+ expect(new Set(icons).size).toBe(tabs.length);+ expect(navigation.getByRole('tab', { name: /^Publish/ })).toHaveAttribute('aria-selected', 'true');+ });+});