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
Pick the board's previous shot by the server's rule
Claude044e49b61ab7
diff --git a/client/src/components/musicVideo/stages/BoardStage.jsx b/client/src/components/musicVideo/stages/BoardStage.jsxindex 0da5ed03fc..0204f9d48d 100644--- a/client/src/components/musicVideo/stages/BoardStage.jsx+++ b/client/src/components/musicVideo/stages/BoardStage.jsx@@ -10,6 +10,7 @@ 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';import { parseSceneFilter, sceneAttention, sceneMatchesFilter, sceneMediaKind, SCENE_ATTENTION_LABELS, SCENE_MEDIA_LABELS } from '../../../lib/musicVideoSceneAttention.js';@@ -233,7 +234,8 @@ export default function BoardStage({ board }) {onSelectTake={takes.selectTake}onReviewTake={takes.reviewTake}onContinueFromPrevious={takes.continueFromPrevious}- previousHasClip={Boolean(scenes[idx - 1]?.videoHistoryId)}+ // The server's own neighbor rule: the shot before this one by start time.+ previousHasClip={Boolean(previousShot(project, scene.sceneId)?.videoHistoryId)}onImportTake={(target) => board.setPickerTarget({ type: 'take', sceneId: target.sceneId })}onImportClipTake={(target) => board.setPickerTarget({ type: 'clip', sceneId: target.sceneId })}layered={layered}