Commit Graph

103 Commits

Author SHA1 Message Date
mlogclub ef959295fc feat: enhance workspace switcher and rail with tooltips and layout adjustments 2026-06-13 12:25:57 +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 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 62d3ca64bb Restructure docs navigation for channel and widget guides 2026-06-09 19:50:41 +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 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 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 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 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 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 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 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 988f55c80d refactor: support i18n 2026-05-25 12:06:15 +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 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 691a7058fa fix: add dropdown menu for chat window actions and enhance status display 2026-05-10 10:30:59 +08:00
mlogclub 2b9cf7e1df fix: enhance chat window header with action buttons and icons 2026-05-10 10:09:52 +08:00
mlogclub 253cca0de7 fix: update login form placeholders to Chinese 2026-05-10 09:50:42 +08:00
mlogclub a077e50c6f refactor: improve layout responsiveness and styling for chat components 2026-05-09 23:00:55 +08:00
mlogclub d238bf17bb refactor: remove unnecessary border from chat shell section 2026-05-09 22:52:04 +08:00
mlogclub c111e3ed98 refactor: update TicketDetailDialog and ProjectDialog for improved layout and styling 2026-05-06 22:56:55 +08:00