diff --git a/components/LibrarySettingsDetails.vue b/components/LibrarySettingsDetails.vue
index a0707b0..d1feae9 100644
--- a/components/LibrarySettingsDetails.vue
+++ b/components/LibrarySettingsDetails.vue
@@ -2,7 +2,7 @@
- {{ row.label }}
- - {{ row.value }}
+ - {{ row.value }}
{{ empty }}
diff --git a/pages/index.vue b/pages/index.vue
index a6ce146..4020bb9 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1666,6 +1666,12 @@
@blur="saveRename(item)"
>
{{ item.name || item.prompt }}
+
{{ clipMetaLine(item) }}
{{ stillTitle(item) }}
+
{{ stillMetaLine(item) }}
diff --git a/pages/library.vue b/pages/library.vue
index ad7c3db..f0ec55c 100644
--- a/pages/library.vue
+++ b/pages/library.vue
@@ -479,8 +479,12 @@ const focusedNavIndex = computed(() => {
return index < 0 ? 0 : index
})
const detailPrompt = computed(() => {
- if (focused.value?.kind === 'clip') return focused.value.group?.head.prompt || ''
- return focused.value?.stillGroup?.head.prompt || ''
+ if (focused.value?.kind === 'clip' && focused.value.group) {
+ const item = focused.value.group.parts.find(part => part.id === focusedPartId.value) || focused.value.group.head
+ return item.prompt || ''
+ }
+ const still = focused.value?.stillGroup?.parts.find(part => part.id === focusedPartId.value) || focused.value?.stillGroup?.head
+ return still?.prompt || ''
})
const detailMeta = computed(() => {
const entry = focused.value
diff --git a/utils/libraryGeneration.ts b/utils/libraryGeneration.ts
index 4b88037..3efac77 100644
--- a/utils/libraryGeneration.ts
+++ b/utils/libraryGeneration.ts
@@ -141,9 +141,10 @@ export function stillModeLabel(still: { filename?: string; settings?: StillGener
return ''
}
-export function stillSettingsRows(still: { width?: number; height?: number; settings?: StillGenerationSettings | null }) {
+export function stillSettingsRows(still: { prompt?: string; width?: number; height?: number; settings?: StillGenerationSettings | null }) {
const settings = still.settings
const rows: SettingsRow[] = []
+ if (still.prompt?.trim()) rows.push({ label: 'Prompt', value: still.prompt.trim() })
const mode = stillModeLabel(still)
if (mode) rows.push({ label: 'Mode', value: mode })
if (!settings) return rows
@@ -201,6 +202,7 @@ function videoWorkflowLabel(workflow?: string) {
}
export function clipSettingsRows(clip: {
+ prompt?: string
width?: number
height?: number
duration?: number
@@ -218,6 +220,7 @@ export function clipSettingsRows(clip: {
loraStack?: LoraStackItem[]
}) {
const rows: SettingsRow[] = []
+ if (clip.prompt?.trim()) rows.push({ label: 'Prompt', value: clip.prompt.trim() })
const workflow = videoWorkflowLabel(clip.workflow)
if (workflow) rows.push({ label: 'Workflow', value: workflow })
if (clip.width && clip.height) rows.push({ label: 'Size', value: `${clip.width}×${clip.height}` })