diff --git a/calliope-web/package-lock.json b/calliope-web/package-lock.json index 0cf7e0b5..7d763dcd 100644 --- a/calliope-web/package-lock.json +++ b/calliope-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "calliope-web", - "version": "1.5.0", + "version": "1.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "calliope-web", - "version": "1.5.0", + "version": "1.5.1", "dependencies": { "@tanstack/svelte-query": "^5.66.0", "@types/three": "0.185.0", diff --git a/calliope-web/package.json b/calliope-web/package.json index e361bdb4..0e21ea13 100644 --- a/calliope-web/package.json +++ b/calliope-web/package.json @@ -1,6 +1,6 @@ { "name": "calliope-web", - "version": "1.5.0", + "version": "1.5.1", "private": true, "scripts": { "dev": "vite dev", diff --git a/calliope-web/src/lib/components/ui/icons.ts b/calliope-web/src/lib/components/ui/icons.ts index 5775cd03..ffa682ed 100644 --- a/calliope-web/src/lib/components/ui/icons.ts +++ b/calliope-web/src/lib/components/ui/icons.ts @@ -37,6 +37,8 @@ export const icons = { '', paperclip: '', + copy: + '', search: '', 'external-link': '', diff --git a/calliope-web/src/lib/components/video/SceneFilmstrip.svelte b/calliope-web/src/lib/components/video/SceneFilmstrip.svelte index c711865b..98d77c06 100644 --- a/calliope-web/src/lib/components/video/SceneFilmstrip.svelte +++ b/calliope-web/src/lib/components/video/SceneFilmstrip.svelte @@ -1,13 +1,10 @@ + +
+
+ {label} + {#if shotSizeLabel} + {shotSizeLabel} + {/if} + {formatClock(clip.duration_sec || 5)} + + + +
+ +

+ {#if body} + {body} + {:else} + No shot description — this clip inherited the scene's defaults. + {/if} +

+ + {#if open} + {#if sceneLevel} +

+ This clip has no per-shot description yet — the text above is the full scene action. Use + Break into shots in the Script stage to split it into coverage. +

+ {/if} + + {#if coveredLines.length} +
+ Dialog in this shot +
{coveredLines.join('\n')}
+
+ {/if} + + {#if (scene.characters ?? []).length} +
+ Characters +
+ {#each scene.characters as c (c.id)} + {c.name} + {/each} +
+
+ {/if} + {/if} +
+ + diff --git a/calliope-web/src/lib/components/video/VideoEditWorkspace.svelte b/calliope-web/src/lib/components/video/VideoEditWorkspace.svelte index 955cb2dc..92e8ad83 100644 --- a/calliope-web/src/lib/components/video/VideoEditWorkspace.svelte +++ b/calliope-web/src/lib/components/video/VideoEditWorkspace.svelte @@ -14,6 +14,7 @@ import PromptPreviewModal from './PromptPreviewModal.svelte'; import SceneFilmstrip, { type FilmstripClip } from './SceneFilmstrip.svelte'; import SceneScriptDrawer from './SceneScriptDrawer.svelte'; + import ShotBrief from './ShotBrief.svelte'; type Thumb = { kind: 'image' | 'video'; src: string } | null; @@ -144,34 +145,36 @@
-
- +
+ +
+ + + +
- - - - -
+
{:else if clipSource?.enabled} -
- Video source - -
- onClipSourceChange?.(source)} - onupload={() => onClipSourceUpload?.()} - /> - {/if} - {#if assetOptions.length === 0} -

- No refs yet. Generate character sheets or environments in Assets, or upload a video/audio - file here. -

- {/if} - {#if hasJobPayload} -
- -
- { - formValues = { ...formValues, ...values }; - onFormChange?.({ ...formValues }); - }} - onApplyToScene={(j, path) => onApplyToClip?.(j, path)} - applying={applying} - /> - {/if} +
+ Video source + +
+ onClipSourceChange?.(source)} + onupload={() => onClipSourceUpload?.()} + /> + {/if} + {#if assetOptions.length === 0} +

+ No refs yet. Generate character sheets or environments in Assets, or upload a video/audio + file here. +

+ {/if} + {#if hasJobPayload} +
+ +
+ { + formValues = { ...formValues, ...values }; + onFormChange?.({ ...formValues }); + }} + onApplyToScene={(j, path) => onApplyToClip?.(j, path)} + applying={applying} + /> + {/if} + {#if selectedClip} + + {/if} + {assetOptions} + {allowUpload} + {generateLabel} + {submitting} + disabled={generateDisabled} + generateDisabledHint={generateDisabledReason} + onChange={onFormChange} + onSubmit={onPreviewPrompt ?? onGenerate} + /> {:else}

No video workflow enabled

@@ -264,22 +275,33 @@

{/if} -
+