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

@@ -61,3 +61,7 @@ models/

View File

@@ -44,6 +44,10 @@ __version__ = '1.0.0'

View File

@@ -177,6 +177,10 @@ def get_missing_summary(df: pd.DataFrame) -> dict:

View File

@@ -137,6 +137,10 @@ def apply_filter(

View File

@@ -301,6 +301,10 @@ def get_unpivot_preview(

View File

@@ -311,6 +311,10 @@ if __name__ == "__main__":

View File

@@ -77,6 +77,10 @@ except Exception as e:

View File

@@ -57,6 +57,10 @@ except Exception as e: