Commit Graph

17 Commits

Author SHA1 Message Date
guangfei.zhao
6ca5e235b4 feat(settings): add user profile and password management 2025-10-21 11:40:47 +08:00
guangfei.zhao
85eb3ab3da feat(logging): add loglevel package and implement logger utility
refactor(document): update document list filtering and API request handling
2025-10-20 14:57:43 +08:00
guangfei.zhao
3f85b0ff78 feat(knowledge): add knowledge graph visualization component
- Add @xyflow/react dependency for graph visualization
- Create KnowledgeGraphView component with custom nodes and edges
- Extend knowledge detail hook to fetch and display graph data
- Add tabs in knowledge detail page to switch between documents and graph views
2025-10-17 16:43:03 +08:00
guangfei.zhao
50628816e3 feat(knowledge): refactor knowledge creation form and improve form handling 2025-10-16 18:52:20 +08:00
guangfei.zhao
5a0a9ef2a1 feat(knowledge): add chunk management and document processing features 2025-10-16 16:23:53 +08:00
guangfei.zhao
fe8747983e feat(knowledge): add configuration components and refactor general form
feat(hooks): add llm-related hooks and constants
docs: add architecture analysis for reference projects
2025-10-15 16:24:53 +08:00
guangfei.zhao
486815d83e feat(knowledge-config): enhance knowledge configuration form with accordion sections
- Add accordion sections for general, page rank, RAPTOR, and GraphRAG configurations
- Implement detailed form controls for each configuration section
- Update parser config interfaces to support new configuration options
2025-10-14 19:15:32 +08:00
guangfei.zhao
9f6785672f feat(knowledge): restructure knowledge base pages and components
- Implement new setting and testing pages with breadcrumbs
2025-10-14 18:06:12 +08:00
guangfei.zhao
7384ae36d0 feat(knowledge): add knowledge base detail page components and hooks
refactor(knowledge): restructure knowledge detail page with new components
feat(components): add FileUploadDialog for file upload functionality
feat(hooks): implement document management hooks for CRUD operations
2025-10-14 15:42:40 +08:00
guangfei.zhao
34181cf025 refactor(knowledge): restructure knowledge creation form and hooks
feat(knowledge): add GeneralForm and ChunkMethodForm components
2025-10-13 18:25:44 +08:00
guangfei.zhao
5c937df5ed feat(knowledge): add knowledge base management with dialog system
- Implement knowledge base list, create, and detail pages
- Add dialog provider and components for confirmation and alerts
- Include knowledge card and grid view components
- Enhance header with user menu and logout functionality
- Implement knowledge operations hooks for CRUD operations
2025-10-13 12:26:10 +08:00
guangfei.zhao
d475a0e982 feat(knowledge): enhance knowledge base management with improved interfaces and components
refactor(interfaces): add comprehensive documentation and type definitions
feat(components): implement empty state handling and team filtering in KnowledgeGridView
refactor(hooks): optimize knowledge list fetching with better parameter handling
style(interfaces): improve code readability with detailed comments
2025-10-11 18:30:41 +08:00
guangfei.zhao
836ee763e3 feat(user): add user data management system with global state
- Implement user store with Zustand for global state management
- Create UserDataProvider component to initialize user data on app load
- Add useUserData hook for accessing and managing user data
- Refactor knowledge base list page to use new hooks
2025-10-11 17:18:40 +08:00
guangfei.zhao
6f0332c1ff refactor(auth): standardize authorization token handling
- Replace 'token' with 'Authorization' in localStorage keys for consistency
- Update auth guard, request interceptor and login hooks to use new key
- Add updateAuthorization method to auth hook for better state management
2025-10-11 14:20:56 +08:00
guangfei.zhao
650c41dc41 refactor(layout): migrate styled components to sx prop in Header and Sidebar
feat(pages): add new KnowledgeBaseList and Login pages with complete functionality

feat(services): implement knowledge service with comprehensive API methods

feat(hooks): add login hooks for authentication and form management
2025-10-11 11:31:24 +08:00
guangfei.zhao
d6ff547f20 feat(auth): implement secure authentication flow with RSA encryption
- Add jsencrypt and js-base64 dependencies for RSA encryption
- Create AuthGuard component for route protection
- Implement encryption utility for password security
- Refactor login page with tabbed interface and form validation
- Add login hooks for authentication state management
- Update user service to handle encrypted passwords
2025-10-10 18:25:20 +08:00
guangfei.zhao
a1282de74f feat: add new interfaces, services, and utilities for API integration
refactor: reorganize type definitions and improve type safety

build: add lodash and @types/lodash as dependencies

chore: update tsconfig and vite config for path aliases

style: improve code organization and add documentation comments

fix: correct type usage in LanguageSwitcher component

perf: implement snackbar provider for global notifications

test: add new test interfaces and utility functions

ci: update pnpm-lock.yaml with new dependencies
2025-10-10 15:09:04 +08:00