mlogclub
2af8d831a7
refactor: enhance image handling in message editor with centralized functions
2026-04-25 17:37:34 +08:00
mlogclub
94ac7d613c
refactor: standardize event type naming for resync handling
2026-04-25 17:26:27 +08:00
mlogclub
96fde7aaab
refactor: enhance realtime message handling and conversation state management
2026-04-25 17:24:26 +08:00
mlogclub
0b22c003b0
refactor: implement centralized realtime connection manager and enhance message handling logic
2026-04-25 16:27:58 +08:00
mlogclub
e109d19ea9
refactor: replace custom message merging logic with centralized mergeImMessagesByIdAsc function
2026-04-25 12:26:45 +08:00
mlogclub
b48aa901d6
refactor: add resize observer to KefuMessageList for improved responsiveness
2026-04-25 11:37:33 +08:00
mlogclub
87e033c70e
refactor: update styling in KefuMessageEditor for improved consistency and clarity
2026-04-25 11:35:50 +08:00
mlogclub
9d9c83a72c
refactor: update styling for chat components to enhance visual consistency and accessibility
2026-04-25 11:31:16 +08:00
mlogclub
4da7e168fa
refactor: enhance UI components and improve styling consistency across chat interface
2026-04-25 11:26:53 +08:00
mlogclub
25928c1b7d
refactor: remove redundant devIndicators setting in next.config.ts
2026-04-25 11:19:25 +08:00
mlogclub
323db62512
refactor: reorganize WebSocket API route configuration for improved clarity
2026-04-25 10:51:41 +08:00
mlogclub
2c884c13cf
refactor: update WebSocket API routes for improved clarity and structure
2026-04-25 10:50:23 +08:00
mlogclub
270bb83fdb
refactor: remove commented-out API route configuration for clarity
2026-04-25 10:35:18 +08:00
mlogclub
1b3fc8159c
feat: implement ExternalInfoMiddleware and update routing for improved context handling
2026-04-25 10:31:35 +08:00
mlogclub
96168dc6fb
Refactor API routes and controllers for improved structure and clarity
...
- Updated API route structure to remove versioning and consolidate endpoints.
- Refactored routing in `server.go` to use a unified `/api` prefix for all controllers.
- Added new `ChannelController`, `ConversationController`, and `MessageController` to handle specific API functionalities.
- Removed deprecated `OpenImContextMiddleware` and related logic.
- Enhanced channel validation logic in `ChannelService` and `ChannelRepository`.
- Updated frontend API calls to align with new endpoint structure.
2026-04-25 10:27:43 +08:00
mlogclub
c1ab26ed71
feat: add origin state to KefuWidgetDemo for dynamic script source
2026-04-24 22:42:59 +08:00
mlogclub
14f220619f
feat: add host actions visibility control in KefuChatShell
2026-04-24 22:40:34 +08:00
mlogclub
1db5c3bf39
feat: minify SDK JavaScript and improve build process
...
- Implemented minification of the cs-ai-agent-sdk.min.js file using Terser during the build process.
- Updated build-sdk.mjs to read the source code, minify it, and write the output to the target directory.
- Added logging to display the size reduction after minification.
- Removed redundant code and streamlined the configuration handling in the SDK.
2026-04-24 22:37:11 +08:00
mlogclub
6ffbbb04ae
refactor: clean up apiBaseUrl handling in config merging
2026-04-24 22:32:34 +08:00
mlogclub
add8cbfd89
feat: integrate WebChannelConfig into seed item configuration
2026-04-24 22:29:44 +08:00
mlogclub
f5da8de49d
refactor: remove welcomeText field from WebChannelConfig and related components
2026-04-24 22:27:30 +08:00
mlogclub
ea94837db2
feat: add web channel configuration support and update widget response structure
2026-04-24 22:24:19 +08:00
mlogclub
a262a865a0
refactor: move WxWorkKFChannelConfig to dto package and update references
2026-04-24 21:43:39 +08:00
mlogclub
92fae381a4
fix: handle optional messages in ConversationDetailDialog and API response
2026-04-24 21:37:50 +08:00
mlogclub
4f633b3794
fix(nav-main): improve path normalization in isActive function
2026-04-24 21:31:17 +08:00
mlogclub
7f7da35fe6
refactor: remove widget-related targets and commands from Makefile
2026-04-24 21:29:32 +08:00
mlogclub
a4ba2a23de
fix: update run command to replace dashboard process with web process
2026-04-24 21:25:45 +08:00
mlogclub
f55ff09db3
Remove widget
2026-04-24 21:24:24 +08:00
mlogclub
9590fc29d3
refactor(build-sdk): simplify SDK build process by removing minification logic
2026-04-24 19:44:55 +08:00
mlogclub
c945f1e73d
feat: add minified SDK build script and update widget script references
2026-04-24 19:43:59 +08:00
mlogclub
197631b4db
fix: update import paths and enhance scrollbar styles in layout and main.scss
2026-04-24 19:26:10 +08:00
mlogclub
92fd571f28
feat: add Kefu widget and related components for customer service integration
2026-04-24 19:17:07 +08:00
mlogclub
4bcfd36620
feat: implement Kefu message list component and related functionality
...
- Add KefuMessageList component for displaying chat messages with support for loading older messages and scrolling behavior.
- Introduce ImWidgetConfig type and fetchImWidgetConfig function for retrieving widget configuration.
- Create im-realtime module for managing WebSocket connections and handling real-time events.
- Implement kefu-host-bridge for communication between the chat widget and the host application.
- Establish kefu-chat store using Zustand for managing chat state, including message handling, socket connection, and notifications.
- Enhance message handling with support for image uploads and attachments.
2026-04-24 14:34:21 +08:00
mlogclub
6616b66e72
refactor(Makefile): update targets and directory references for web app integration
2026-04-24 12:04:05 +08:00
mlogclub
a9275c2d4a
调整目录
2026-04-24 12:01:30 +08:00
mlogclub
7889ecb0d2
feat(auth): update login routes and add WxWork login callback handling
2026-04-24 11:35:29 +08:00
mlogclub
5fa30d29ef
调整dashboard项目结构
2026-04-24 11:27:49 +08:00
mlogclub
eb353cbbc8
refactor(migration): remove is_system field update and clean up imports in permission sync
2026-04-23 14:43:59 +08:00
mlogclub
155e9173a7
feat(ai-agent): add permissions for AI Agent management and update related logic
2026-04-23 14:26:10 +08:00
mlogclub
06b9c58e55
refactor(role): remove sortNo from role creation and update related logic
2026-04-23 14:06:10 +08:00
mlogclub
e616169c41
feat(role): add CreateRoleDrawer component and integrate role creation functionality
2026-04-23 14:05:13 +08:00
mlogclub
a769df5d44
fix(api): enhance createWebSocketBaseUrl function to handle development environment and window context
2026-04-21 23:08:40 +08:00
mlogclub
72d92efd61
refactor(api): remove unused WebSocket URL creation functions from agent and im modules
2026-04-21 23:07:32 +08:00
mlogclub
c02cfc85e4
feat(widget): replace img with next/image for optimized logo rendering
2026-04-21 22:53:07 +08:00
mlogclub
c6a0e9e918
chore: update docs submodule for v1.1.0
2026-04-21 18:45:49 +08:00
mlogclub
4d45d7f037
feat(wxwork): refactor truncateRunes function to be a method of wxWorkNotifyService
2026-04-21 18:08:03 +08:00
mlogclub
beebf131c8
feat(wxwork): update toUsers field type to int64 and enhance comments for clarity
2026-04-21 17:57:53 +08:00
mlogclub
22e1c2e395
feat(wxwork): refactor recipient handling to use slices instead of structs
2026-04-21 17:51:35 +08:00
mlogclub
179c01c0e4
feat(wxwork): update default recipients to remove duplicates and include all users
2026-04-21 17:36:33 +08:00
mlogclub
8c31a9c444
feat(wxwork): remove unused recipient fields from wxWorkNotifyConfig
2026-04-21 17:36:05 +08:00