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

Opening title card form moves to the Look step, under the preview (#11232)

[._.]/d4d741737b3c
diff --git a/client/src/components/musicVideo/CompositionPanel.jsx b/client/src/components/musicVideo/CompositionPanel.jsx
index 872adec55e..9acf231f6f 100644
--- a/client/src/components/musicVideo/CompositionPanel.jsx
+++ b/client/src/components/musicVideo/CompositionPanel.jsx
@@ -1,7 +1,6 @@
import { RenderFailure } from './RenderStatusPanel.jsx';
import GradePanel from './GradePanel.jsx';
import FilmLookPanel from './FilmLookPanel.jsx';
-import TitleCardPanel from './TitleCardPanel.jsx';
import TypographyPanel from './TypographyPanel.jsx';
import EidoverseVideoPanel from './EidoverseVideoPanel.jsx';
import CodeVideoPanel from './CodeVideoPanel.jsx';
@@ -37,8 +36,6 @@ export default function CompositionPanel({ board }) {
)}
<GradePanel project={project} onSave={board.saveCompositionGrade} />
<FilmLookPanel project={project} onEditLocal={board.editProjectLocal} onSave={board.saveProjectFields} />
- <TitleCardPanel project={project} onEditLocal={board.editProjectLocal} onSave={board.saveProjectFields}
- onPreview={board.seekToScene ? (startSec) => board.seekToScene({ startSec }, { play: true }) : null} />
{mode !== 'eidoverse' && <TypographyPanel project={project} onEditLocal={board.editProjectLocal} onSave={board.saveProjectFields} />}
{mode === 'eidoverse' && <EidoverseVideoPanel key={project.id} project={project} onProject={board.replaceProject} productionReadiness={board.productionReadiness} />}
{mode === 'code' && (
diff --git a/client/src/components/musicVideo/TitleCardPanel.jsx b/client/src/components/musicVideo/TitleCardPanel.jsx
index 2cba963740..15bb6219d7 100644
--- a/client/src/components/musicVideo/TitleCardPanel.jsx
+++ b/client/src/components/musicVideo/TitleCardPanel.jsx
@@ -56,9 +56,9 @@ function lyricDuringCard(project, card) {
* Turning it on fills the song title, the artist named for DistroKid under
* Where you post, this year and a window that ends before the first sung line.
* Edits reach the preview at once (`onEditLocal`); leaving a field saves.
- * `bare` drops the panel's own heading where a section around it carries one.
+ * Edited on the Look step, under the docked preview (a card of its own there).
*/
-export default function TitleCardPanel({ project, onEditLocal, onSave, onPreview, bare = false }) {
+export default function TitleCardPanel({ project, onEditLocal, onSave, onPreview }) {
const [starting, setStarting] = useState(false);
useEffect(addSwatchFaces, []);
const drawn = DRAWN_BY.includes(project.composition?.mode);
@@ -94,9 +94,9 @@ export default function TitleCardPanel({ project, onEditLocal, onSave, onPreview
const field = (key) => (raw?.[key] ?? card?.[key] ?? '');
return (
- <section aria-label="Opening title card" className={bare ? 'space-y-2' : 'space-y-2 border-t border-port-border pt-3'}>
+ <section aria-label="Opening title card" className="space-y-2 rounded-lg border border-port-border bg-port-card p-2">
<div className="flex flex-wrap items-center justify-between gap-2">
- {!bare && <h3 className="inline-flex items-center gap-1.5 text-sm font-medium"><Clapperboard size={14} className="text-port-accent" aria-hidden="true" /> Opening title card</h3>}
+ <h3 className="inline-flex items-center gap-1.5 text-sm font-medium"><Clapperboard size={14} className="text-port-accent" aria-hidden="true" /> Opening title card</h3>
<label htmlFor="mv-title-card-on" className="inline-flex min-h-[44px] items-center gap-2 text-xs text-port-text-muted sm:min-h-0">
{on ? `Live in the preview · ${clock(card.startSec)}–${clock(card.endSec)}` : 'Off'}
<input id="mv-title-card-on" type="checkbox" checked={on} disabled={starting}
diff --git a/client/src/components/musicVideo/stages/BoardStage.jsx b/client/src/components/musicVideo/stages/BoardStage.jsx
index 301d379167..06ef9204aa 100644
--- a/client/src/components/musicVideo/stages/BoardStage.jsx
+++ b/client/src/components/musicVideo/stages/BoardStage.jsx
@@ -9,8 +9,6 @@ import TreatmentPanel, { treatmentSummary } from '../TreatmentPanel.jsx';
import StageSection from '../StageSection.jsx';
import { PlanActions } from '../ProjectActionGroups.jsx';
import ShotPacingFields from '../ShotPacingFields.jsx';
-import TitleCardPanel from '../TitleCardPanel.jsx';
-import { normalizeTitleCard } from '../../../../../server/lib/musicVideoTitleCard.js';
import { previousShot } from '../../../../../server/lib/musicVideoHandoffFrame.js';
import { isLayeredComposition } from '../../../lib/musicVideoLayers.js';
import { FOOTAGE_OPTIONAL_MODES } from '../../../lib/musicVideoStages.js';
@@ -22,14 +20,6 @@ const FILTER_LABELS = [['all', 'All'], ['attention', 'Needs attention'], ['missi
const MEDIA_ICONS = { clip: Film, image: ImageIcon, code: Code2, card: Type };
const isTypingTarget = (el) => !!el && (el.isContentEditable || ['INPUT', 'TEXTAREA', 'SELECT'].includes(el.tagName));
-/** One line for the folded title card section: off, or what it says and when. */
-function titleCardSummary(stored) {
- const card = normalizeTitleCard(stored);
- if (!card?.enabled) return 'Off · the song, artist and year over the opener';
- const words = [card.title && `“${card.title}”`, card.artist].filter(Boolean).join(' · ') || 'No text yet';
- return `${words} · ${formatTimecode(card.startSec, 1)}–${formatTimecode(card.endSec, 1)}`;
-}
-
/** Corner chips on a Board thumbnail: what the shot's selected media is, plus an end-frame mark. */
function SceneMediaBadges({ scene, layered }) {
const kind = sceneMediaKind(scene, { layered });
@@ -57,7 +47,7 @@ function SceneLockBadge({ sceneId, state }) {
/**
* Storyboard: the treatment (the brief the planner reads, then per-shot
- * direction), planning tools, the opening title card, the beat timeline, and the scene cards —
+ * direction), planning tools, the beat timeline, and the scene cards —
* one column on a phone, two and three as the column widens (a container
* query, so the docked preview narrowing the column is accounted for). Cards
* are collapsed to a thumbnail, lyric and status until tapped.
@@ -141,12 +131,6 @@ export default function BoardStage({ board }) {
<ShotPacingFields project={project} onEditLocal={board.editProjectLocal} onSave={board.saveProjectFields} />
</StageSection>
- {/* The opening credit block, set here so it plays in the storyboard animatic from the start. */}
- <StageSection id="mv-board-title-card" title="Opening title card" summary={titleCardSummary(project.titleCard)}>
- <TitleCardPanel bare project={project} onEditLocal={board.editProjectLocal} onSave={board.saveProjectFields}
- onPreview={board.seekToScene ? (startSec) => board.seekToScene({ startSec }, { play: true }) : null} />
- </StageSection>
-
{/* The brief feeds the shot planner; the direction is applied per shot once they exist. */}
<StageSection id="mv-board-treatment" title="Treatment" summary={scenes.length ? treatmentSummary(project) : 'Write the brief the shot planner follows'}>
<div id="mv-setup-treatment">
diff --git a/client/src/pages/MusicVideo.jsx b/client/src/pages/MusicVideo.jsx
index 00bdcd00e1..f2a59d4fa9 100644
--- a/client/src/pages/MusicVideo.jsx
+++ b/client/src/pages/MusicVideo.jsx
@@ -72,6 +72,7 @@ import ProjectManageActions from '../components/musicVideo/ProjectManageActions.
import ProjectSettingsDrawer, { SETTINGS_TAB_IDS } from '../components/musicVideo/ProjectSettingsDrawer.jsx';
import MusicVideoProjectCard from '../components/musicVideo/MusicVideoProjectCard.jsx';
import PreviewDock from '../components/musicVideo/PreviewDock.jsx';
+import TitleCardPanel from '../components/musicVideo/TitleCardPanel.jsx';
import NeedsAttentionBanner from '../components/musicVideo/NeedsAttentionBanner.jsx';
import SetupStage from '../components/musicVideo/stages/SetupStage.jsx';
import StageChecklist from '../components/musicVideo/StageChecklist.jsx';
@@ -1184,6 +1185,14 @@ export default function MusicVideo() {
// Everything the stage panels need, in one place: stages read what they
// use, so a panel moving between tabs never changes a signature here.
+ // The opening credit block is part of the look: on the Look step it is edited under the preview that draws it.
+ const withTitleCard = (dock) => (activeStage !== 'cast-sets' || !selected ? dock : (
+ <div className="flex flex-col gap-3">
+ {dock}
+ <TitleCardPanel project={selected} onEditLocal={editProjectLocal} onSave={saveProjectFields}
+ onPreview={(startSec) => seekToScene({ startSec }, { play: true })} />
+ </div>
+ ));
const board = selected ? {
project: selected,
reviewDraftState,
@@ -1596,7 +1605,7 @@ export default function MusicVideo() {
}}
/>
)}
- dock={(
+ dock={withTitleCard(
<PreviewDock
project={selected}
sources={previewSources}
@@ -1604,7 +1613,7 @@ export default function MusicVideo() {
seekRequest={seekRequest}
collapsed={dockCollapsed ?? !playerFirst}
onToggleCollapsed={() => setDockCollapsed(!(dockCollapsed ?? !playerFirst))}
- />
+ />,
)}
>
<StageView key={selected.id} board={board} />
diff --git a/client/src/pages/MusicVideo.test.jsx b/client/src/pages/MusicVideo.test.jsx
index 1413b45acc..c06dee5f4d 100644
--- a/client/src/pages/MusicVideo.test.jsx
+++ b/client/src/pages/MusicVideo.test.jsx
@@ -2674,6 +2674,20 @@ describe('MusicVideo stage tabs (#9243)', () => {
await waitFor(() => expect(document.getElementById('mv-auto-edit')).toHaveFocus());
});
+ // Uniquely catches the opening title card form leaving the Look step or reappearing on Storyboard/Make.
+ it('edits the opening title card on the Look step only, right under the preview', async () => {
+ listMusicVideoProjects.mockResolvedValue([PROJECT_WITH_CLIP]);
+ renderAt('/music-video/mv-1/cast-sets');
+ await screen.findByRole('heading', { level: 2, name: PROJECT_WITH_CLIP.name });
+ const preview = screen.getByRole('complementary', { name: 'Preview' });
+ const card = screen.getByRole('region', { name: 'Opening title card' });
+ expect(preview.nextElementSibling).toBe(card);
+ for (const stage of ['board', 'produce']) {
+ await openStage(stage);
+ expect(screen.queryByRole('region', { name: 'Opening title card' })).toBeNull();
+ }
+ });
+
it('leads Storyboard and Make with the player and their approval, closes Look with its approval, keeps the run in Project settings and unsaved planning edits across steps', async () => {
listMusicVideoProjects.mockResolvedValue([{ ...PROJECT_WITH_CLIP,
autonomousRun: { status: 'needs-human', stage: 'video', output: {}, brief: {} },
diff --git a/docs/HTML_COMPOSITIONS.md b/docs/HTML_COMPOSITIONS.md
index ca1ebb86da..d76b416421 100644
--- a/docs/HTML_COMPOSITIONS.md
+++ b/docs/HTML_COMPOSITIONS.md
@@ -344,7 +344,7 @@ still applies inside the ffmpeg encode; the film look follows it.
The MTV-style credit block a video opens with: song title, artist, year and an
optional extra line (album, director), fading in over the opener and out again.
-**Storyboard → Opening title card** (also under **Compose**) stores it on the project (`project.titleCard`,
+**Look → Opening title card** (under the docked preview) stores it on the project (`project.titleCard`,
validated by `musicVideoTitleCardSchema`, normalized by `normalizeTitleCard` in
`server/lib/musicVideoTitleCard.js`; `null` = none, `enabled: false` keeps the
text). Turning it on fills the song title (the project name without its version