Commit Graph

123 Commits

Author SHA1 Message Date
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
mlogclub 8ff68acc54 feat: implement standalone closed page navigation and add related tests 2026-05-06 19:36:32 +08:00
mlogclub 15710d294f feat: add runtime configuration for Kefu Chat SDK
- Introduced `readKefuChatRuntimeConfig` and `setKefuChatRuntimeConfig` functions to manage runtime configuration for the Kefu Chat SDK.
- Updated `useKefuChatStore` to utilize the new runtime configuration functions instead of the previous widget config methods.
- Modified the SDK build process to compile TypeScript instead of JavaScript, enhancing type safety and maintainability.
- Updated the minified SDK file to reflect the changes in configuration handling and TypeScript compilation.
2026-05-06 19:28:49 +08:00
mlogclub bd9fad68a7 refactor: update Kefu widget configuration to use dynamic user token retrieval
- Changed `userToken` property to `getUserToken` function in KefuWidgetHostConfig for dynamic token fetching.
- Introduced KefuWidgetRuntimeConfig to manage runtime-specific configurations.
- Updated readKefuWidgetConfig and setKefuWidgetConfig functions to accommodate new configuration structure.
- Enhanced cs-ai-agent-sdk.js to handle user token resolution and frame configuration.
- Added tests for dynamic user token retrieval in cs-ai-agent-sdk.test.mjs.
- Removed deprecated cs-agent-widget.js file as part of the refactor.
2026-05-06 18:19:49 +08:00
mlogclub 787850833f fix: update chat shell message and comment out header section 2026-05-06 17:40:11 +08:00
mlogclub c482a3d7f6 feat: update dialog size options and adjust loading indicator height 2026-05-06 17:40:11 +08:00
mlogclub 5ca596a212 feat: enhance ticket page with quick view buttons and search functionality 2026-05-06 17:40:11 +08:00
mlogclub 494bf919b2 feat: add safe rich html viewer 2026-05-06 17:40:11 +08:00
mlogclub dba175b0fa feat(ticket): add customer linking functionality to tickets 2026-05-06 17:40:11 +08:00
mlogclub c1f4f74244 fix(kefu): avoid chat control hydration mismatch 2026-05-06 17:37:57 +08:00
mlogclub 02686fe1e8 feat(kefu): adapt chat controls by launch mode 2026-05-06 09:37:28 +08:00
mlogclub 5ccee6f714 fix(ticket): align lightweight frontend API 2026-05-02 19:53:18 +08:00
mlogclub 08fa232fe3 refactor(ticket): simplify frontend ticket API and components 2026-05-02 19:40:42 +08:00
mlogclub 6a579e50ed fix(conversation): update dependency on conversation ID for effect hooks 2026-05-02 13:16:42 +08:00
mlogclub 1f36717d17 feat(conversation): send welcome message on new chat 2026-05-02 12:30:27 +08:00
mlogclub 880148d679 fix(web): sync auth expiry state 2026-04-30 18:10:01 +08:00
mlogclub d300e0f00e refactor(web): remove admin token refresh flow 2026-04-30 18:06:46 +08:00
mlogclub 9e88ecd8eb fix(nav-user): move change password menu item to a new position in the dropdown 2026-04-28 23:13:57 +08:00
mlogclub 7592203f77 feat(widget-demo): add copy functionality for widget snippet with visual feedback 2026-04-28 23:13:49 +08:00
mlogclub 55d55101df feat(widget-demo): add direct chat URL generation and copy functionality 2026-04-28 23:00:22 +08:00
mlogclub 909854cd03 feat(notification): add dashboard notification center 2026-04-28 19:20:38 +08:00
mlogclub f287727c59 feat: add JWT authentication support to KefuWidgetDemo 2026-04-28 18:31:47 +08:00
mlogclub 4e4eac752a refactor: remove padding from change password form for consistency 2026-04-28 17:26:51 +08:00
mlogclub 15d0d81fa1 refactor KefuChatShell component by removing unused host actions state and simplifying button rendering 2026-04-27 14:52:14 +08:00
mlogclub b4e26d2359 refactor KefuChatShell button layout to use ButtonGroup and update styles for better consistency 2026-04-27 14:31:16 +08:00
mlogclub 603b8ff593 update logo 2026-04-26 20:22:09 +08:00
mlogclub 8dff6450b2 update wxwork.svg path 2026-04-26 20:13:16 +08:00
mlogclub a3cd67f80f update 2026-04-26 20:04:54 +08:00
mlogclub 67900d9849 feat: replace ImMessageEditor with AgentMessageEditor and CustomerMessageEditor, refactor shared message editor logic
- Introduced AgentMessageEditor component for agent message handling.
- Created CustomerMessageEditor component to handle customer messages.
- Refactored shared message editor logic into SharedMessageEditor.
- Removed the old KefuMessageEditor component.
- Updated chat panel to use the new AgentMessageEditor.
- Updated KefuChatShell to use CustomerMessageEditor instead of KefuMessageEditor.
- Added quick reply fetching and handling in AgentMessageEditor.
2026-04-25 18:33:32 +08:00
mlogclub 9a2ae5c505 refactor: implement MessageImageExtension for enhanced image handling in message editors 2026-04-25 18:17:08 +08:00
mlogclub 7945fc32f6 refactor: enhance image uploading feedback in message editors with new class handling 2026-04-25 18:15:46 +08:00