Commit Graph

665 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 ee5de175cd chore: update subproject commit reference in docs 2026-05-30 10:49:25 +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 b3f5824fd6 feat: add QuickReplyGetBy route and builder functions for quick replies 2026-05-28 09:11: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 dd1b0d1b81 refactor: update backend stack and rename controllers to handlers in AGENTS.md 2026-05-28 08:27:16 +08:00
mlogclub 574d316b11 chore: update submodule to latest commit 2026-05-27 22:22:03 +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 498932de61 refactor: simplify cors and maxBodySize middleware by removing parameters 2026-05-27 22:06:32 +08:00
mlogclub 4d816182ee feat: implement CORS support with configurable allowed origins 2026-05-27 22:05:02 +08:00
mlogclub 5bf4935a1f chore: update submodule to latest commit 2026-05-27 20:43:03 +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 316f5c666b chore: update submodule to latest commit 2026-05-25 12:07:59 +08:00
mlogclub 988f55c80d refactor: support i18n 2026-05-25 12:06:15 +08:00
mlogclub 309ac1fe9e chore: update submodule to latest commit 2026-05-24 21:20:21 +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 1dd9c835ed feat: add server readiness check in dev target of Makefile 2026-05-24 20:38:08 +08:00
mlogclub c9ad978da6 feat: add banner printing functionality to server startup 2026-05-24 20:13:18 +08:00
mlogclub 8bbd6c9414 feat: set Gin to release mode in NewServer function 2026-05-24 20:10:20 +08:00
mlogclub 467759d547 feat: update AIConfig route handler and add validation utility function with tests 2026-05-24 19:57:36 +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 c5c3852a4b feat: add Docker Compose configuration and update README for improved setup instructions 2026-05-23 22:53:33 +08:00
mlogclub 5e0d479640 feat: add Dockerfile and update README with Docker usage instructions 2026-05-23 22:50:07 +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 c6c1c00141 feat: add dashboard handlers for roles, sessions, skill definitions, tags, tickets, users, and WeChat integration
- Implement role management endpoints including listing, creating, updating, and deleting roles.
- Add session management endpoints for viewing and revoking sessions.
- Create skill definition management endpoints for CRUD operations and status updates.
- Introduce tag management endpoints for handling tags with sorting and status updates.
- Develop ticket management endpoints for viewing, creating, updating, and managing ticket progress.
- Implement user management endpoints for CRUD operations, role assignments, and password resets.
- Add WeChat callback handlers for verifying and processing messages.
2026-05-23 22:30:30 +08:00
mlogclub f9ddf39c83 refactor: simplify route handlers by removing redundant ID parsing logic 2026-05-23 22:28:21 +08:00
mlogclub 1852f9df8b Refactor controllers to remove unnecessary return statements after JSON responses
- Removed redundant return statements in various controller functions across the dashboard module.
- This change improves code readability and maintains the same functionality.
2026-05-23 22:23:44 +08:00
mlogclub e9d2e41f9e Refactor controllers to use httpx for JSON responses and eliminate context dependency
- Updated TagController methods to use httpx.WriteJSON for consistent JSON response handling.
- Refactored TicketController to replace context-dependent methods with standalone functions using httpx.
- Modified UserController to utilize httpx for error handling and response formatting.
- Adjusted WechatController to remove context dependency and standardize response handling.
2026-05-23 22:22:18 +08:00
mlogclub 7fdf96dd9d feat: implement httpx response utilities and refactor API controllers to use them 2026-05-23 22:18:40 +08:00