From bf0506023cc68d8bea5e179ea5adc4f8a12d28c5 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Fri, 3 Apr 2026 13:56:37 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=A0=95=EB=B3=B4=20=ED=8C=A8=EB=84=90?= =?UTF-8?q?=20=E2=80=94=20taxonomy=20=EA=B8=B0=EB=B0=98=20=EB=B6=84?= =?UTF-8?q?=EB=A5=98=20=ED=91=9C=EC=8B=9C=20(breadcrumb=20+=20type/confide?= =?UTF-8?q?nce=20=EB=B0=B0=EC=A7=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - domain 경로를 breadcrumb으로 표시 (Industrial_Safety › Practice › Patrol_Inspection) - document_type 배지 (파란색) - confidence 배지 (85%+ 초록, 60~85% 주황, <60% 빨강) - importance 배지 (high만 표시) - 원본 포맷 표시 Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/lib/components/PreviewPanel.svelte | 40 +++++++++++++++---- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/frontend/src/lib/components/PreviewPanel.svelte b/frontend/src/lib/components/PreviewPanel.svelte index eeecdc4..5b085d1 100644 --- a/frontend/src/lib/components/PreviewPanel.svelte +++ b/frontend/src/lib/components/PreviewPanel.svelte @@ -236,24 +236,48 @@ {/if} - + + {#if doc.ai_domain} +
+

분류

+ +
+ {#each doc.ai_domain.split('/') as part, i} + {#if i > 0}{/if} + {part} + {/each} +
+ +
+ {#if doc.document_type} + {doc.document_type} + {/if} + {#if doc.ai_confidence} + + {(doc.ai_confidence * 100).toFixed(0)}% + + {/if} + {#if doc.importance && doc.importance !== 'medium'} + + {doc.importance} + + {/if} +
+
+ {/if} + +

정보

포맷
-
{doc.file_format}
+
{doc.file_format}{doc.original_format ? ` (원본: ${doc.original_format})` : ''}
크기
{formatSize(doc.file_size)}
- {#if doc.ai_domain} -
-
분류
-
{doc.ai_domain.replace('Knowledge/', '')}{doc.ai_sub_group ? ` / ${doc.ai_sub_group}` : ''}
-
- {/if} {#if doc.source_channel}
출처