feat(pkb): Complete PKB module frontend migration with V3 design

Summary:
- Implement PKB Dashboard and Workspace pages based on V3 prototype
- Add single-layer header with integrated Tab navigation
- Implement 3 work modes: Full Text, Deep Read, Batch Processing
- Integrate Ant Design X Chat component for AI conversations
- Create BatchModeComplete with template selection and document processing
- Add compact work mode selector with dropdown design

Backend:
- Migrate PKB controllers and services to /modules/pkb structure
- Register v2 API routes at /api/v2/pkb/knowledge
- Maintain dual API routes for backward compatibility

Technical details:
- Use Zustand for state management
- Handle SSE streaming responses for AI chat
- Support document selection for Deep Read mode
- Implement batch processing with progress tracking

Known issues:
- Batch processing API integration pending
- Knowledge assets page navigation needs optimization

Status: Frontend functional, pending refinement
This commit is contained in:
2026-01-06 22:15:42 +08:00
parent b31255031e
commit 5a17d096a7
226 changed files with 14899 additions and 224 deletions

View File

@@ -631,6 +631,10 @@ import { logger } from '../../../../common/logging/index.js';

View File

@@ -434,6 +434,10 @@ import { ChatContainer } from '@/shared/components/Chat';

View File

@@ -344,6 +344,10 @@ const initialMessages = defaultMessages.length > 0 ? defaultMessages : [{

View File

@@ -632,6 +632,10 @@ http://localhost:5173/data-cleaning/tool-c

View File

@@ -420,6 +420,10 @@ Docs: docs/03-业务模块/DC-数据清洗整理/06-开发记录/DC模块重建

View File

@@ -293,6 +293,10 @@ ConflictDetectionService // 冲突检测(字段级对比)

View File

@@ -457,6 +457,10 @@ Tool B后端代码**100%复用**了平台通用能力层,无任何重复开发

View File

@@ -234,6 +234,10 @@ $ node scripts/check-dc-tables.mjs