Update build process to collect Whisper modules and add styling for video content in the library view

This commit is contained in:
2026-06-15 06:15:08 +02:00
parent a07870c82c
commit 5df2871c6f
2 changed files with 37 additions and 0 deletions

View File

@@ -138,6 +138,10 @@ function buildBackendSidecar() {
projectRoot,
'--collect-submodules',
'backend.rag',
'--collect-submodules',
'whisper',
'--collect-data',
'whisper',
'--hidden-import',
'backend.main',
'--hidden-import',

View File

@@ -1796,6 +1796,39 @@ input:checked + .slider:before {
border-color: color-mix(in srgb, #69c4a1 34%, var(--border));
}
.library-content-card.kind-video {
border-color: color-mix(in srgb, #9c7cff 46%, var(--border));
}
.library-video-help {
margin: 0;
line-height: 1.45;
}
.library-video-processing {
padding: 10px 12px;
border: 1px solid color-mix(in srgb, #9c7cff 42%, var(--border));
border-radius: 10px;
background: color-mix(in srgb, #9c7cff 8%, transparent);
color: var(--muted);
font-size: 12px;
line-height: 1.45;
}
.library-video-summary {
margin-top: 10px;
padding: 10px 11px;
border: 1px solid color-mix(in srgb, #9c7cff 28%, var(--border));
border-radius: 10px;
background: color-mix(in srgb, #9c7cff 6%, transparent);
}
.library-video-summary p {
margin: 7px 0 0;
white-space: pre-wrap;
line-height: 1.5;
}
.library-content-card.kind-chat_message {
border-color: color-mix(in srgb, #e9c46a 48%, var(--border));
}