Commit Graph

177 Commits

Author SHA1 Message Date
mlogclub 2fa8a06166 fix: remove unnecessary border styles from sidebar and info panel in ConversationWorkbench 2026-06-19 13:16:13 +08:00
mlogclub 51c7e24b9d feat: add plain palette option and update related components and styles 2026-06-13 17:18:46 +08:00
mlogclub 7ed6b628c1 feat: add AgentRealtimeProvider and integrate it into WorkbenchLayout and ConversationsPage 2026-06-13 12:53:39 +08:00
mlogclub 32c93322e7 feat: add tickets page and update workbench rail links to correct paths 2026-06-13 12:05:57 +08:00
mlogclub d9a05a17ca feat: add WorkbenchRail component and update WorkbenchLayout to include it; 2026-06-13 12:04:03 +08:00
mlogclub d22805c4af feat: refactor conversations page into a workbench layout and implement workspace switching
- Migrate ConversationsPage to use ConversationWorkbench component.
- Create WorkbenchLayout to handle authentication and layout for workbench.
- Add WorkbenchPage to render ConversationWorkbench.
- Implement WorkspaceSwitcher for switching between dashboard and workbench.
- Update AuthProvider to manage authentication for both dashboard and workbench routes.
- Enhance WorkbenchHeader with user menu and workspace switcher.
- Add tests for workspace switcher and auth provider functionality.
- Update translations for workspace labels in English and Chinese.
- Exclude e2e tests from TypeScript compilation.
2026-06-13 11:49:03 +08:00
mlogclub 62d3ca64bb Restructure docs navigation for channel and widget guides 2026-06-09 19:50:41 +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 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 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 c31fdd7e00 feat: add LocaleSwitcher component to LoginPage for improved localization support 2026-05-30 20:40:55 +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 ea6fc84c18 Refactor code structure for improved readability and maintainability 2026-05-30 20:21:29 +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
mlogclub 8398cd6f91 feat: implement TagSelector component for improved tag management across dashboard features
- Added TagSelector component to streamline tag selection in various components.
- Refactored existing tag handling in DashboardConversationsPage, ConversationTagPicker, EditDialog, and TicketsPage to utilize the new TagSelector.
- Removed redundant tag handling functions and optimized state management for tags.
- Updated tests to ensure proper functionality of the new tag handling logic.
2026-05-30 11:23:05 +08:00
mlogclub d2da9de641 refactor: remove unused status handling functions from ConversationList component 2026-05-30 10:57:42 +08:00
mlogclub 64eb3b18b0 feat: update chat URLs and paths from /kefu to /support for consistency 2026-05-30 10:48:05 +08:00
mlogclub dbcb1d83de feat: add reloadKey prop to various components for improved data fetching control 2026-05-28 12:40:36 +08:00