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

feat: show a scene's applied treatment direction on its board card (#8980)

[._.]/ Adam Eivy02c94fe7378d
diff --git a/client/src/components/musicVideo/SceneCard.jsx b/client/src/components/musicVideo/SceneCard.jsx
index e0e88c4e49..69343836af 100644
--- a/client/src/components/musicVideo/SceneCard.jsx
+++ b/client/src/components/musicVideo/SceneCard.jsx
@@ -123,10 +123,17 @@ export default function SceneCard({
placeholder="Shot prompt — what this scene's video should show"
className="w-full bg-port-bg border border-port-border rounded px-2 py-1.5 text-sm"
/>
- {(scene.lyricText || scene.visualIntent) && (
+ {(scene.lyricText || scene.visualIntent || scene.direction) && (
<div className="text-[11px] text-port-text-muted space-y-0.5">
{scene.lyricText && <p className="italic break-words">♪ {scene.lyricText}</p>}
{scene.visualIntent && <p className="break-words">Intent: {scene.visualIntent}</p>}
+ {/* Applied treatment direction (#8980) — appended to both generated prompts. */}
+ {scene.direction && (
+ <p className="break-words" title={scene.direction.frameClause}>
+ Direction: {scene.direction.mode}{scene.direction.focalSubject ? ` · ${scene.direction.focalSubject}` : ''}
+ {scene.direction.typographyRole !== 'none' ? ` · ${scene.direction.typographyRole} text, ${scene.direction.negativeSpace} region kept clear` : ' · no text'}
+ </p>
+ )}
</div>
)}
<div className="flex flex-wrap gap-2 items-center text-xs">
diff --git a/server/services/musicVideo/takes.js b/server/services/musicVideo/takes.js
index 1a28dfbfcc..275d40b4fd 100644
--- a/server/services/musicVideo/takes.js
+++ b/server/services/musicVideo/takes.js
@@ -115,8 +115,9 @@ function replaceScene(project, idx, scene) {
* or a re-import is a no-op for the list). A slot is filled only while it is
* empty, by the first appended take of that kind; an existing selection is
* never replaced, and a motion-reference take (#8980) never fills a slot — it
- * becomes final picture only by an explicit select. Returns `{ scene, appended }` — `appended` lists the take
- * for every input, whether newly created or already present.
+ * becomes final picture only by an explicit select. Returns
+ * `{ scene, appended }` — `appended` lists the take for every input, whether
+ * newly created or already present.
*/
function appendToScene(scene, inputs, now) {
let takes = ensureSceneTakes(scene, now);