From 797f55c5677c04a3a4daac457ab15d2dd85b97d6 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Thu, 28 May 2026 01:24:49 +0800 Subject: [PATCH] feat(timeline): enhance knowledge processing spans and UI elements This commit introduces several improvements to the knowledge processing timeline and related components. Key changes include: 1. Added a `gracePoll` prop to the `KnowledgeProcessingTimeline` component to manage polling behavior more effectively. 2. Enhanced the UI by displaying the document title in the drawer, improving user visibility of the current document context. 3. Implemented new CSS classes for better styling of the drawer title bar, ensuring a more polished appearance. 4. Updated the backend to support the new `WikiSpan` tracking, allowing for detailed monitoring of document processing stages. These changes aim to improve user experience and provide better insights into the document processing workflow. --- frontend/src/components/doc-content.vue | 22 +- .../knowledge-processing-timeline.vue | 151 +++++++++--- internal/application/service/wiki_ingest.go | 144 ++++++++++++ .../application/service/wiki_ingest_batch.go | 214 +++++++++++++++++- internal/handler/knowledge.go | 57 ++--- 5 files changed, 533 insertions(+), 55 deletions(-) diff --git a/frontend/src/components/doc-content.vue b/frontend/src/components/doc-content.vue index ea95d8b7..d7ff4d8f 100644 --- a/frontend/src/components/doc-content.vue +++ b/frontend/src/components/doc-content.vue @@ -846,7 +846,8 @@ const handleDetailsScroll = () => { opens the secondary drawer. --> @@ -858,6 +859,9 @@ const handleDetailsScroll = () => {
trace {{ $t('knowledgeStages.title') }} + · + {{ details.title + }}