Commit Graph

30 Commits

Author SHA1 Message Date
guangfei.zhao
91eaa37283 refactor: update grid component props and optimize docker setup 2025-10-20 10:34:38 +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
de3d196e11 feat(breadcrumbs): implement reusable breadcrumbs component and update usage
refactor(chunk): enhance chunk list with bulk operations and improved UI
2025-10-17 11:11:48 +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
f4e2f4f10c fix(routing): correct document-preview route path and update API port
Update the document-preview route path to be relative under the chunk route
and add port number to the API base URL in environment configuration
2025-10-16 17:25:13 +08:00
guangfei.zhao
91bf724ac0 chore: update API base URL to new server IP address 2025-10-16 17:21:49 +08:00
guangfei.zhao
0b97991a36 feat(document-preview): add document preview page and improve chunk list UI
- Implement new document preview page with support for various file types
- Move file preview functionality from parsed-result to dedicated preview page
- Enhance chunk list UI with better visual hierarchy and styling
- Add document preview button in parsed-result page
- Improve error handling and loading states for both pages
2025-10-16 17:21:21 +08:00
guangfei.zhao
5a0a9ef2a1 feat(knowledge): add chunk management and document processing features 2025-10-16 16:23:53 +08:00
guangfei.zhao
4f956e79ba feat(knowledge-testing): add pagination and document filtering to testing interface 2025-10-16 11:48:00 +08:00
guangfei.zhao
fd4309582d feat(form): add form field components and configuration updates
refactor(knowledge): restructure configuration components to use common items
2025-10-15 18:48:48 +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
Ding, Shuo
cedb0699f5 update Docker 2025-10-13 16:03:23 +08:00
Ding, Shuo
005a803968 update dockerfile 2025-10-13 15:12:56 +08:00
Ding, Shuo
e8b20bb716 add dockerfile 2025-10-13 14:37:25 +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
guangfei.zhao
8cf7a4e5d5 feat(i18n): add internationalization support with i18next
- Add i18next and related dependencies for internationalization
- Implement language switcher component with English and Chinese support
- Create translation files for English and Chinese locales
- Update login and home pages to use translations
- Configure i18n initialization with language detection
- Add dayjs locale synchronization with i18n language changes
- Update tsconfig and eslint to ignore new locales directory
- Remove unused App.css and simplify index.css
- Update npmrc with mirror configuration
2025-10-10 11:15:56 +08:00
guangfei.zhao
a1e8f47ed4 refactor(Login): rewrite login page using Material-UI components
- Replace styled components with Material-UI's AppBar, Toolbar, and Card
- Update form fields to handle email and password instead of just username
- Improve error handling for both email and password fields
- Simplify layout and remove social login options
2025-10-09 18:11:35 +08:00
guangfei.zhao
5f93573e57 feat: implement RAG dashboard with MUI and react-router
Add new RAG dashboard feature including:
- Main application layout with header and sidebar
- Multiple pages (Home, KnowledgeBase, PipelineConfig, Dashboard, MCP)
- Theme configuration and styling
- Routing setup with protected routes
- Login page and authentication flow
- Various UI components and mock data for dashboard views
2025-10-09 17:23:15 +08:00
guangfei.zhao
446b422a12 add prototype index html 2025-10-09 16:07:01 +08:00
guangfei.zhao
19c18e61a0 first commit 2025-10-09 15:59:50 +08:00