From a50ccf77f98776891df6c6f8096f02a343644d5b Mon Sep 17 00:00:00 2001
From: chanx <1243304602@qq.com>
Date: Fri, 10 Oct 2025 17:16:34 +0800
Subject: [PATCH] Fix: Fixed some discovered bugs #9869 (#10466)
### What problem does this PR solve?
Fix: Bug fixes #9869
- Adjusted the breadcrumb display logic on the data flow results page
- Added the default display of "Local Upload" to the Source field in the
dataset overview table
- Replaced the original Mindmap Task field with the GraphRAG Task field
on the dataset settings page
- Optimized the build button status check criteria and adjusted the
progress information display logic
- Introduced a Tooltip in the parsing status cell component and removed
redundant Button components
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---
web/src/interfaces/database/knowledge.ts | 2 +
web/src/locales/en.ts | 5 ++-
web/src/locales/zh.ts | 1 +
web/src/pages/dataflow-result/index.tsx | 4 +-
.../dataset-overview/overview-table.tsx | 4 +-
.../pages/dataset/dataset-setting/index.tsx | 4 +-
.../dataset/generate-button/generate.tsx | 12 ++++--
.../dataset/dataset/parsing-status-cell.tsx | 38 ++++++++++++++-----
8 files changed, 50 insertions(+), 20 deletions(-)
diff --git a/web/src/interfaces/database/knowledge.ts b/web/src/interfaces/database/knowledge.ts
index d768d8e5e..b6939d1c4 100644
--- a/web/src/interfaces/database/knowledge.ts
+++ b/web/src/interfaces/database/knowledge.ts
@@ -33,6 +33,8 @@ export interface IKnowledge {
raptor_task_id?: string;
mindmap_task_finish_at?: string;
mindmap_task_id?: string;
+ graphrag_task_finish_at: string;
+ graphrag_task_id: string;
}
export interface IKnowledgeResult {
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index 76081af84..549dd5dfb 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -96,17 +96,18 @@ export default {
description: 'Which knowledge bases will you use today?',
createKnowledgeBase: 'Create Dataset',
name: 'Name',
- namePlaceholder: 'Please input name!',
+ namePlaceholder: 'Please input name.',
doc: 'Docs',
searchKnowledgePlaceholder: 'Search',
noMoreData: `That's all. Nothing more.`,
},
knowledgeDetails: {
+ localUpload: 'Local Upload',
fileSize: 'File Size',
fileType: 'File Type',
uploadedBy: 'Uploaded by',
notGenerated: 'Not generated',
- generatedOn: 'Generated on',
+ generatedOn: 'Generated on ',
subbarFiles: 'Files',
generateKnowledgeGraph:
'This will extract entities and relationships from all your documents in this dataset. The process may take a while to complete.',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index 97291de81..d13f3db6c 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -94,6 +94,7 @@ export default {
noMoreData: '没有更多数据了',
},
knowledgeDetails: {
+ localUpload: '本地上传',
fileSize: '文件大小',
fileType: '文件类型',
uploadedBy: '创建者',
diff --git a/web/src/pages/dataflow-result/index.tsx b/web/src/pages/dataflow-result/index.tsx
index 9da4a910e..a2d2fe913 100644
--- a/web/src/pages/dataflow-result/index.tsx
+++ b/web/src/pages/dataflow-result/index.tsx
@@ -187,7 +187,9 @@ const Chunk = () => {
+ {pipeline_id + ? pipeline_name || pipeline_id + : parser_id === 'naive' + ? 'general' + : parser_id} +
+