Commit Graph

306 Commits

Author SHA1 Message Date
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
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 d30e211996 refactor: enhance conversation handling and websocket integration with new team ID support 2026-05-09 22:05:34 +08:00
mlogclub 44558a873c refactor: update links in summary cards to include dashboard path 2026-05-09 21:34:54 +08:00
mlogclub c111e3ed98 refactor: update TicketDetailDialog and ProjectDialog for improved layout and styling 2026-05-06 22:56:55 +08:00
mlogclub 102e9c8e4f refactor: clean up imports and improve ConversationList structure 2026-05-06 21:08:09 +08:00
mlogclub 3734e8ec03 refactor: simplify SidebarInset structure and adjust overflow behavior 2026-05-06 21:03:15 +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 d7e101c234 feat: add progress tracking dialog with content editor for ticket updates 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 bfcab46ae4 feat: add ticket information section in detail dialog 2026-05-06 17:40:11 +08:00
mlogclub 907d3b4085 fix: remove unnecessary classes from ticket page layout 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 57cf11afd6 ticket editor 2026-05-06 17:40:11 +08:00