Commit Graph

259 Commits

Author SHA1 Message Date
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 a8755811b5 fix: update backendBaseUrl in next.config.ts to prioritize NEXT_API_BASE_URL 2026-06-13 10:46:20 +08:00
mlogclub 3c42124eaa feat: enhance LoginForm with error handling and loading states for auth options 2026-06-13 10:25:53 +08:00
mlogclub 6b3cda9874 fix: handle null authOptions in LoginForm and update state initialization 2026-06-13 10:19:28 +08:00
mlogclub 0b78104978 feat: add loading state to AppI18nProvider for locale readiness 2026-06-13 10:18:19 +08:00
mlogclub 62d3ca64bb Restructure docs navigation for channel and widget guides 2026-06-09 19:50:41 +08:00
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