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

Drop the step's "Done when" line where its checklist already says it (#11052)

[._.]/d3b97c654410
diff --git a/client/src/components/musicVideo/MusicVideoLayout.jsx b/client/src/components/musicVideo/MusicVideoLayout.jsx
index 75326c8069..4e0f4b3165 100644
--- a/client/src/components/musicVideo/MusicVideoLayout.jsx
+++ b/client/src/components/musicVideo/MusicVideoLayout.jsx
@@ -287,7 +287,8 @@ export default function MusicVideoLayout({
>
<div className="space-y-0.5">
<h3 id={`mv-step-title-${stage}`} className="text-xl font-semibold">{stageEntry?.title || stageEntry?.label}</h3>
- {stageEntry?.doneWhen && <p className="text-sm text-port-text-muted">{stageEntry.doneWhen}</p>}
+ {/* The step checklist already says what done means, item by item; the line stands in only without one. */}
+ {stageEntry?.doneWhen && !lead && <p className="text-sm text-port-text-muted">{stageEntry.doneWhen}</p>}
</div>
{lead}
{playerFirst && (dock || review) && (
diff --git a/client/src/components/musicVideo/MusicVideoLayout.test.jsx b/client/src/components/musicVideo/MusicVideoLayout.test.jsx
index f900a0a4fb..746b3fe660 100644
--- a/client/src/components/musicVideo/MusicVideoLayout.test.jsx
+++ b/client/src/components/musicVideo/MusicVideoLayout.test.jsx
@@ -46,6 +46,14 @@ describe('music-video step navigation', () => {
expect(screen.getByText(/\$3\.00 \/ \$10\.00/)).toBeInTheDocument();
});
+ it('drops the "Done when" line when the step checklist already lists what done means', () => {
+ render(<MusicVideoLayout project={{ id: 'example-project', name: 'Example Project' }} stage="cast-sets"
+ onStageChange={vi.fn()} progress={progressFor('cast-sets')} spend={{ spentUsd: 0, capUsd: 0 }}
+ lead={<section aria-label="What this step needs">Art direction written</section>} />);
+ expect(screen.getByRole('heading', { level: 3, name: 'Look' })).toBeInTheDocument();
+ expect(screen.queryByText(MUSIC_VIDEO_STAGES[1].doneWhen)).toBeNull();
+ });
+
it('says where the project stands in one line, and a status error marks no step as needing you', () => {
render(<MusicVideoLayout project={{ id: 'example-project', name: 'Example Project' }} stage="cast-sets"
onStageChange={() => {}} progress={progressFor('cast-sets')} spend={{ spentUsd: 0 }}