Ship duration control, hidden previews, job resume, and desktop file purge.
The slider never left this machine, so deploy the generate UI with separate input/output hide toggles, reconnect in-progress jobs after refresh, and delete Comfy input/output files after they are saved to the library.
This commit is contained in:
@@ -8,6 +8,7 @@ export interface PendingJob {
|
||||
ownerKey: string
|
||||
folderId: string
|
||||
hideThumbnail: boolean
|
||||
folderLocked?: boolean
|
||||
name?: string
|
||||
prompt: string
|
||||
aspect: string
|
||||
@@ -88,12 +89,13 @@ export async function completePendingIfReady(pending: PendingJob) {
|
||||
return {
|
||||
type: 'complete' as const,
|
||||
status: 'complete' as const,
|
||||
message: 'Video ready',
|
||||
message: pending.folderLocked ? 'Saved to the locked folder. Unlock it to view.' : 'Video ready',
|
||||
progress: 100,
|
||||
clipId: clip.id,
|
||||
filename: video.filename,
|
||||
subfolder: video.subfolder,
|
||||
mediaType: video.type,
|
||||
hideThumbnail: pending.hideThumbnail
|
||||
filename: pending.folderLocked ? undefined : video.filename,
|
||||
subfolder: pending.folderLocked ? undefined : video.subfolder,
|
||||
mediaType: pending.folderLocked ? undefined : video.type,
|
||||
hideThumbnail: pending.hideThumbnail,
|
||||
folderLocked: pending.folderLocked
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user