diff --git a/frontend/src/features/chunking/ui/ChunkPanel.vue b/frontend/src/features/chunking/ui/ChunkPanel.vue index 34eb7b0..ff631fa 100644 --- a/frontend/src/features/chunking/ui/ChunkPanel.vue +++ b/frontend/src/features/chunking/ui/ChunkPanel.vue @@ -66,6 +66,18 @@
{{ analysisStore.rechunking ? t('chunking.chunking') : t('chunking.run') }} + + +
+ + + + {{ t('chunking.batchNotice') }} +
@@ -151,6 +163,12 @@ const canRechunk = computed(() => { return analysis?.status === 'COMPLETED' && analysis.hasDocumentJson }) +/** True when the analysis was batched (document_json unavailable). */ +const isBatchedAnalysis = computed(() => { + const analysis = analysisStore.currentAnalysis + return analysis?.status === 'COMPLETED' && !analysis.hasDocumentJson +}) + const pageChunks = computed(() => analysisStore.currentChunks.filter((c) => c.sourcePage === props.currentPage), ) @@ -426,6 +444,28 @@ async function doRechunk() { font-size: 13px; } +/* Batch mode info notice */ +.batch-notice { + display: flex; + align-items: flex-start; + gap: 8px; + margin-top: 4px; + padding: 10px 12px; + background: rgba(59, 130, 246, 0.08); + border: 1px solid rgba(59, 130, 246, 0.2); + border-radius: var(--radius-sm); + font-size: 12px; + line-height: 1.5; + color: var(--text-secondary); +} +.batch-notice-icon { + width: 16px; + height: 16px; + flex-shrink: 0; + color: var(--info); + margin-top: 1px; +} + .spinner-sm { width: 14px; height: 14px;