Commit Graph

253 Commits

Author SHA1 Message Date
mlogclub 6d1d459533 feat: update embed.go to embed all assets and add tests for SPA asset inclusion 2026-06-07 23:11:54 +08:00
mlogclub 8106b25223 feat: implement directory move functionality and add localization for move actions 2026-06-07 22:25:27 +08:00
mlogclub 409d04854d feat: implement drag-and-drop sorting for knowledge directories and add localization for sort actions 2026-06-07 22:25:02 +08:00
mlogclub 994bec1b3f feat: implement sidebar resizing functionality and update localization for resize action 2026-06-07 21:56:20 +08:00
mlogclub c3387ec4a9 feat: add LanceDB vector database provider
- Implemented LanceDBProvider for managing vector collections, including methods for creating, deleting, and searching collections.
- Added support for LanceDB configuration in VectorDBConfig.
- Introduced stub for LanceDB provider when not built with the appropriate tag.
- Updated provider initialization to include LanceDB as a supported type.
- Created types and interfaces for vector operations, including Vector, SearchRequest, and SearchResult.
- Added tests for VectorDBConfig unmarshalling and for ensuring proper error handling when LanceDB is not built.
- Updated enums to include LanceDB type and labels.
- Modified frontend enums to reflect the addition of LanceDB.
2026-06-07 17:32:29 +08:00
mlogclub 3439d20537 feat(i18n): Enhance internationalization support for tool specifications and notifications
- Added TitleKey and DescriptionKey fields to ToolSpec for dynamic localization.
- Updated tool specifications to use i18nx for titles, descriptions, and appendices.
- Refactored notification messages to utilize i18nx for localization in conversation and ticket assignment events.
- Improved localization in the debug dialog component for skill definitions.
- Added new translation keys in English and Chinese for ticket and conversation assignment notifications.
- Ensured that fallback messages are properly localized based on user locale.
2026-06-03 09:36:33 +08:00
mlogclub dca045f866 feat: enhance KnowledgeContentDetailDialog with fullscreen options and layout improvements 2026-06-02 19:58:32 +08:00
mlogclub 4706e0666b feat: add click handling for detail dialog in DocumentList and FAQList components 2026-06-02 19:57:09 +08:00
mlogclub ffd2227e5e feat: add detail view functionality for documents and FAQs with localization support 2026-06-02 19:55:26 +08:00
mlogclub 9c7bf29b41 feat: improve layout of DashboardKnowledgeDocumentsPage for better responsiveness 2026-06-02 19:50:20 +08:00
mlogclub 05f4e378fe feat: enhance ScrollArea styling in KnowledgeDirectoryPanel for better layout control 2026-06-02 16:30:45 +08:00
mlogclub 923a3be815 feat: add focus handling for directory name input in KnowledgeDirectoryPanel 2026-06-02 16:29:07 +08:00
mlogclub a38d9f097a feat: add resize functionality to KnowledgeDirectoryPanel with localization support 2026-06-02 16:26:43 +08:00
mlogclub 87fb688ade feat: enhance DirectoryNode interaction with improved click handling and context menu support 2026-06-02 16:24:12 +08:00
mlogclub 3162faca56 feat: update layout of RetrieveLogList for improved spacing and readability 2026-06-02 16:23:10 +08:00
mlogclub ae62f7ecce feat: add move functionality to DocumentList and FAQList for improved document management 2026-06-02 16:21:05 +08:00
mlogclub 44ec2921d4 feat: add context menu support to DocumentList, FAQList, and KnowledgeBaseList for improved user interaction 2026-06-02 16:19:11 +08:00
mlogclub 5b8bb388db feat: add context menu functionality to DirectoryNode for enhanced user interaction 2026-06-02 16:17:20 +08:00
mlogclub 842f827c86 feat: implement batch move and delete functionality for documents and FAQs 2026-06-02 16:13:08 +08:00
mlogclub 1bdc1cb2b6 feat: add filter button to DocumentList and FAQList components for enhanced user interaction 2026-06-02 15:53:51 +08:00
mlogclub 2235d89ea4 refactor: adjust height of header in KnowledgeDirectoryPanel for improved layout 2026-06-02 15:51:09 +08:00
mlogclub d2e65415a8 refactor: enhance FAQList component with improved filtering and action handling 2026-06-02 15:49:40 +08:00
mlogclub 24447d9cdf refactor: enhance layout of document filters in DocumentList for better responsiveness 2026-06-02 15:44:58 +08:00
mlogclub b64f1a7858 refactor: adjust button styling in DirectoryStaticRow for improved layout 2026-06-02 15:42:12 +08:00
mlogclub 853ae71b3d feat: add knowledge directory management for documents and FAQs
- Implemented directory validation in Create and Update knowledge document services.
- Added directory selection in document and FAQ edit dialogs with a new KnowledgeDirectoryPanel component.
- Enhanced API to support fetching, creating, updating, and deleting knowledge directories.
- Updated data models to include directory information for knowledge documents and FAQs.
- Added translations for directory-related messages in English and Chinese.
2026-06-02 15:37:50 +08:00
mlogclub 32af090ab8 refactor: update skill and MCP tool labels for consistency in English and Chinese translations 2026-06-02 12:08:35 +08:00
mlogclub 5c4d486df0 fix: adjust layout of search input and status filter in KnowledgeBaseList 2026-06-01 17:01:06 +08:00
mlogclub 8933e963f5 feat(knowledge): add FAQ Excel import export 2026-06-01 13:57:49 +08:00
mlogclub b128447a7e Refactor localization strings to English across various services and UI components
- Updated titles and subtitles in channel_service.go for web channel and WeChat MP channel configurations.
- Changed handoff messages in conversation_human_dispatch_service.go to English.
- Modified notification messages in event handlers for ticket and conversation assignments to English.
- Adjusted ticket creation messages in ticket_service.go to reflect English localization.
- Updated default locale settings in i18n configuration files to English (en-US).
- Changed HTML language attribute in layout.tsx to English.
- Refactored widget locale detection logic in agent-desk-sdk.ts to prioritize English.
2026-05-31 21:57:31 +08:00
mlogclub c1e972001d refactor: update references from CSAgent to AgentDesk across the codebase 2026-05-31 18:48:49 +08:00
mlogclub eb04c344a5 refactor: rename cs-ai-agent to agent-desk in SDK and related files
- Updated message types in support-host-bridge.ts to use agent-desk prefix.
- Added new agent-desk-sdk.min.js file with updated functionality.
- Removed old cs-ai-agent-sdk.min.js file.
- Modified build-sdk script to generate agent-desk-sdk.min.js.
- Changed scrollbar class names in main.scss from cs-ai-agent to agent-desk.
2026-05-31 18:46:05 +08:00
mlogclub a2f238b3f8 refactor: replace APIKey with HasAPIKey in AIConfig and related components 2026-05-30 22:41:21 +08:00
mlogclub 5d7c10aeab refactor: rename agent widget references to AI agent for consistency
- Updated runtime configuration to use __CS_AI_AGENT_WIDGET_CONFIG__ instead of __CS_AGENT_WIDGET_CONFIG__.
- Changed message types in support host bridge from "cs-agent" to "cs-ai-agent".
- Minified SDK script updated to reflect new AI agent naming conventions.
- Adjusted scrollbar styles in main.scss to use .cs-ai-agent-scrollbar instead of .cs-agent-scrollbar.
2026-05-30 21:19:36 +08:00
mlogclub 6f05d1ebcc feat: implement updateTagTreeStatus function to manage tag status updates without mutating original tree 2026-05-30 21:02:37 +08:00
mlogclub 21ac67de5e fix: wrap OptionCombobox in a div for better layout in DashboardTagsPage 2026-05-30 20:59:15 +08:00
mlogclub b1b632e28b feat: implement dropdown menu in NavMain for collapsed state with hover functionality 2026-05-30 20:58:25 +08:00
mlogclub 57995e352b feat: add tooltip support to SidebarMenuSubButton and update NavMain and NavSecondary components for improved accessibility 2026-05-30 20:50:14 +08:00
mlogclub 7e6fcc45ac feat: implement sortable table with drag-and-drop functionality in DashboardCrudPage 2026-05-30 20:46:12 +08:00
mlogclub c31fdd7e00 feat: add LocaleSwitcher component to LoginPage for improved localization support 2026-05-30 20:40:55 +08:00
mlogclub 2d1704854f fix: update accessibility labels in LoginForm component for better screen reader support 2026-05-30 20:39:36 +08:00
mlogclub c2b6d595aa feat: add legal pages for Terms of Service and Privacy Policy with localization support 2026-05-30 20:38:14 +08:00
mlogclub b44bb666c9 fix: comment out FieldDescription in LoginForm component 2026-05-30 20:23:19 +08:00
mlogclub ea6fc84c18 Refactor code structure for improved readability and maintainability 2026-05-30 20:21:29 +08:00
mlogclub edb8355aad feat: enhance sidebar navigation with localStorage state management and section key support 2026-05-30 20:06:34 +08:00
mlogclub 6594140684 feat: add padding and margin to SidebarGroup in NavMain component 2026-05-30 20:06:29 +08:00
mlogclub 9cabee4d6d feat: implement collapsible sidebar navigation with icons and active item detection 2026-05-30 20:00:44 +08:00
mlogclub 86ff71596d feat: add support chat widget demo and state management
- Implemented SupportWidgetDemo component for configuring and mounting the support chat widget.
- Introduced Zustand store for managing support chat state, including message handling and socket connection.
- Created support host bridge for communication between the widget and parent window.
- Added utility functions for JWT token generation and local storage management.
- Enhanced user experience with notifications for new messages and chat status updates.
2026-05-30 14:00:23 +08:00
mlogclub bcab31eaa8 feat: implement demo navigation for Kefu widget and restructure support page 2026-05-30 13:54:06 +08:00
mlogclub 6305994394 feat: enhance TicketDetailDialog with status change confirmation and dropdown menu for status selection 2026-05-30 13:50:55 +08:00
mlogclub 3078488018 feat: add closed page component and update navigation paths for chat support 2026-05-30 13:47:44 +08:00