Commit Graph

632 Commits

Author SHA1 Message Date
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
mlogclub d21b420765 feat: restructure API routing and remove ginx package
- Added new routing functions for API and dashboard endpoints in controller_routes.go.
- Replaced previous ginx.HandleController calls with explicit route registrations.
- Removed the ginx package as it is no longer needed for handling controllers.
- Improved organization and readability of route definitions.
2026-05-23 22:12:13 +08:00
mlogclub 79614b2d07 Refactor import paths to use internal/pkg/httpx/params
- Updated multiple repository and service files to replace imports from "github.com/mlogclub/simple/web/params" with "cs-agent/internal/pkg/httpx/params".
- Adjusted context handling in auth_service and ws_service to use gin.Context instead of iris.Context.
- Ensured consistent usage of HTTP status responses across websocket handlers.
2026-05-23 22:10:20 +08:00
mlogclub f8b1ed42fa fix: update release-version documentation for clarity and accuracy 2026-05-13 16:04:19 +08:00
mlogclub 1736ef04bf chore: update docs submodule links 2026-05-13 14:27:06 +08:00
mlogclub e79a689e9b chore: update docs submodule for v1.4.0 2026-05-13 14:11:46 +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 7a9cffe21e fix: add structured graph tool results 2026-05-10 00:02:23 +08:00
mlogclub 59b3509ca9 fix: prevent repeated off-hours handoff notices 2026-05-09 23:46:56 +08:00
mlogclub af8ec71bb8 fix: continue agent flow on knowledge retrieval errors 2026-05-09 23:38:42 +08:00
mlogclub bce4c18c10 refactor: use controlled RAG no-context policy 2026-05-09 23:33:35 +08:00
mlogclub 7dbde93b7d docs: add RAG no-context response design 2026-05-09 23:25:07 +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 664e418115 refactor: implement off-hours handoff logic and enhance related tests 2026-05-08 23:26:25 +08:00
mlogclub 6f4c026320 refactor: enhance event consumption logic and add graph tool completion test 2026-05-08 23:13:32 +08:00
mlogclub 1a2550a089 refactor: streamline conversation ID usage in message service methods 2026-05-08 21:54:08 +08:00
mlogclub 33b4caab03 refactor: update alert links and simplify buildAlerts parameters in dashboard service 2026-05-08 20:08:28 +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