Commit Graph

226 Commits

Author SHA1 Message Date
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
mlogclub af9d0319b1 fix: adjust TagSelector component styling for improved layout and badge display 2026-05-30 11:30:54 +08:00
mlogclub 6a27305749 refactor: remove CheckIcon from TagSelector and adjust selected tag styling 2026-05-30 11:26:26 +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
mlogclub 3fe5a89aeb refactor: migrate tickets and users pages to use new dashboard list components
- Refactored TicketsPage to utilize DashboardListPage for improved filtering and data fetching.
- Removed unnecessary state management and loading logic in favor of the new list hooks.
- Updated user management page to leverage useDashboardPagedList for cleaner pagination and filtering.
- Enhanced CRUD page to support new action state management and toolbar customization.
- Added reset filters functionality to dashboard list components.
- Updated translations for new UI elements and loading states.
2026-05-28 12:38:33 +08:00
mlogclub 0611fb0bb6 feat: allow deleteConfirm to be set to false for conditional delete confirmation in DashboardCrudPage 2026-05-28 10:08:24 +08:00
mlogclub 6a3c641ff9 refactor: migrate customer and skill definition pages to use DashboardCrudPage component
- Replaced existing customer and skill definition page implementations with DashboardCrudPage for improved structure and functionality.
- Simplified state management and data fetching logic.
- Enhanced filtering and column definitions for better user experience.
- Updated translations to include new labels and processing messages.
2026-05-28 09:52:47 +08:00
mlogclub 2cb834efa3 feat: enhance dashboard CRUD functionality with support for boolean and multi-select fields; update related types and utilities 2026-05-28 09:45:24 +08:00
mlogclub 0ca0332a5f refactor: streamline DashboardCrudPage by integrating useDashboardPagedList and removing redundant state management 2026-05-28 09:40:52 +08:00
mlogclub d64b0c36f3 refactor: replace DashboardPage and DashboardTableShell with DashboardListPage for notifications and permissions
- Updated DashboardNotificationsPage to utilize DashboardListPage for improved structure and functionality.
- Simplified state management and data fetching in DashboardNotificationsPage.
- Refactored DashboardPermissionsPage to use DashboardListPage, enhancing filter and pagination handling.
- Introduced DashboardListPage component to standardize list rendering with filters and pagination.
- Added utility functions for managing filters and pagination in the new DashboardListPage component.
- Improved code readability and maintainability by consolidating common logic into reusable components.
2026-05-28 09:36:48 +08:00
mlogclub b944c3221f feat: implement dashboard CRUD status column and toggle actions; refactor related components for improved functionality 2026-05-28 09:08:38 +08:00
mlogclub e8d7565caf refactor: replace EditDialog with DashboardCrudFormDialog for companies and quick replies
- Removed the EditDialog component from companies and quick replies.
- Integrated DashboardCrudFormDialog to handle form submissions and editing for both entities.
- Updated the CompanyPicker to utilize the new form dialog for creating companies.
- Introduced DashboardCrudFieldControl for rendering form fields dynamically.
- Added utility functions for building form values and normalizing submit values.
- Updated tests to cover new form utilities and ensure correct behavior for form submissions.
2026-05-28 08:45:15 +08:00
mlogclub fe480ff131 feat: refactor quick replies page to use DashboardCrudPage component
- Removed redundant state management and effects from DashboardQuickRepliesPage.
- Integrated DashboardCrudPage for handling CRUD operations and filtering.
- Created a new DashboardCrudPage component to encapsulate common CRUD logic.
- Added utility functions for building and normalizing dashboard CRUD queries.
- Implemented tests for the new utility functions to ensure correctness.
2026-05-28 08:39:14 +08:00
mlogclub c246b85a9e feat: add support for request ID tracking across services
- Implemented request ID handling in various services and handlers to improve traceability of requests.
- Added new AuthOptions endpoint to expose WxWork and OIDC configuration options.
- Updated message and event logging to include request ID for better debugging.
- Enhanced login form to dynamically show available authentication options based on server configuration.
- Introduced utility functions for normalizing and ensuring valid request IDs.
- Updated tests to verify request ID functionality in message sending and event logging.
2026-05-27 22:18:43 +08:00
mlogclub 680252598c feat: enhance OptionCombobox with open state management and close on selection 2026-05-25 12:51:41 +08:00
mlogclub 906a54cd3d fix: adjust layout for gender and status filter comboboxes 2026-05-25 12:50:27 +08:00
mlogclub 988f55c80d refactor: support i18n 2026-05-25 12:06:15 +08:00
mlogclub 7670a62b6e feat: refactor MCPDashboardPage layout with Dashboard components 2026-05-24 21:19:05 +08:00
mlogclub eac039bba4 feat: add OIDC login support
- Introduced OIDC configuration options in config.example.yaml.
- Added OIDC client initialization and routes for OIDC login, callback, and exchange.
- Implemented OIDC login service to handle user authentication via OIDC.
- Created frontend components for OIDC login and callback handling.
- Updated user creation logic to support OIDC users and their identities.
- Enhanced error handling for OIDC login processes.
2026-05-24 20:49:10 +08:00
mlogclub b1bc1580d9 feat: implement palette toggle component and update layout for dynamic theme support 2026-05-24 16:09:44 +08:00
mlogclub 17959b18b4 feat: update UI components for improved styling and consistency across conversation panels 2026-05-24 15:32:19 +08:00
mlogclub af2280ee45 feat: refactor DashboardConversationsPage to utilize new Dashboard components for improved layout and user experience 2026-05-24 14:46:52 +08:00
mlogclub ac45a40171 feat: refactor dashboard pages to use new Dashboard components for improved structure and consistency 2026-05-24 09:41:16 +08:00
mlogclub aca50b9511 feat: refactor dashboard components to use new layout structure and improve UI consistency 2026-05-23 23:16:01 +08:00
mlogclub c80bae5106 feat: enhance Makefile commands and update README for improved development workflow
refactor: separate API and SPA handling in server routes and add static file serving options

test: add tests for SPA handling and static file serving

feat: implement embedded SPA support for production and development environments
2026-05-23 22:44:06 +08:00