Commit Graph

483 Commits

Author SHA1 Message Date
mlogclub 27f6520457 feat(calendar): enhance drag-and-drop interaction with preview functionality 2026-04-29 10:54:18 +08:00
mlogclub b04f14b8cf fix(layout): improve layout responsiveness and overflow handling 2026-04-29 10:40:09 +08:00
mlogclub 944221a76c feat(calendar): refactor to support month view and improve scheduling logic 2026-04-29 10:30:27 +08:00
mlogclub 8646b002c1 feat: add calendar scheduling feature for agent teams
- Implemented FindCalendarSchedules method in agentTeamScheduleService to retrieve schedules within a specified time range.
- Added new API endpoint fetchAgentTeamScheduleCalendar to fetch schedules for the calendar view.
- Created ScheduleCalendar component to display agent team schedules in a calendar format with drag-and-drop functionality for moving and resizing schedules.
- Updated EditDialog component to support deleting schedules and handling default values for new entries.
- Enhanced DashboardAgentTeamSchedulesPage to toggle between calendar and list views, and to load calendar data based on selected week.
- Added tests for FindCalendarSchedules to ensure correct schedule retrieval and validation of time ranges.
2026-04-29 09:23:54 +08:00
mlogclub ce8a8d5bcc docs: update schedule calendar spec pointer 2026-04-28 23:29:39 +08:00
mlogclub be23e13400 fix(.gitignore): add .superpowers to ignore list 2026-04-28 23:27:30 +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 bcd2c603f4 fix(notification): ensure BuildNotificationList returns an empty slice instead of nil 2026-04-28 23:09:50 +08:00
mlogclub 28d1cfc160 fix(customer_service): update EnsureExternalCustomer to use TxContext 2026-04-28 23:03:06 +08:00
mlogclub 21a08f3cb1 fix(notification): sync notification permissions 2026-04-28 23:00:22 +08:00
mlogclub 55d55101df feat(widget-demo): add direct chat URL generation and copy functionality 2026-04-28 23:00:22 +08:00
mlogclub 14e3df64f1 feat: add customer session refresh functionality and improve session management
- Introduced RealtimeCustomerSessionRefreshPayload and RealtimeCustomerSessionRefreshEvent types for handling session refresh events.
- Updated ws_service to verify customer session and handle session refresh notifications.
- Enhanced API client to manage customer session tokens and expiration.
- Implemented customer session validation and storage in session storage.
- Added functions to exchange and ensure customer sessions.
- Updated IM real-time connection to include customer session tokens in WebSocket requests.
- Modified SDK and widget configurations to support external IDs and user tokens.
2026-04-28 23:00:22 +08:00
mlogclub bfc9b317dc fix(ticket_service): update user retrieval to use UserRepository 2026-04-28 23:00:22 +08:00
Bob b4d2e3a52d Merge pull request #5 from huabeitech/feature/notification-center
Feature/notification center
2026-04-28 19:32:32 +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 592a8c942b docs: update notification center design spec 2026-04-28 17:47:59 +08:00
mlogclub 4ff8cd0272 refactor: update subproject commit reference in documentation 2026-04-28 17:27:02 +08:00
mlogclub 4e4eac752a refactor: remove padding from change password form for consistency 2026-04-28 17:26:51 +08:00
mlogclub 75afe60d4b refactor: remove externalSource references from various components for consistency 2026-04-28 11:11:16 +08:00
mlogclub cf63b75590 refactor: rename ExternalInfo to ExternalUser and update related functions for consistency
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 11:10:47 +08:00
mlogclub 0ad2ef83df refactor: rename VerifyUserToken function to verifyUserToken for consistency 2026-04-28 10:46:58 +08:00
mlogclub 864c3cc61a refactor: rename parsing functions for clarity and consistency 2026-04-28 10:46:28 +08:00
mlogclub fe4a6e63af refactor: streamline UserTokenClaims structure and simplify VerifyUserToken function 2026-04-28 10:43:38 +08:00
mlogclub 2900e0a3d2 refactor: simplify ExternalInfoMiddleware and update GetExternalInfo to accept user token secret
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:40:53 +08:00
mlogclub 4ec529e860 feat: add user token secret management for channels
- Implemented user token secret generation and retrieval in channel service.
- Added ResetUserTokenSecret method to reset the user token secret for channels.
- Updated channel configuration parsing to include user token secret.
- Enhanced WebSocket service to utilize user token secret for external info retrieval.
- Modified dashboard channel edit component to support user token secret display and reset functionality.
- Introduced API endpoint for resetting user token secret.
- Updated IM and SDK configurations to include user token.
- Added tests for user token verification logic.
2026-04-28 10:15:15 +08:00
mlogclub d713bd5158 refactor: update Conversation model to include CustomerName, adjust related logic and queries 2026-04-27 19:27:24 +08:00
mlogclub 3a9bc4914a refactor: remove Subject field from Conversation model and related logic, replace with CustomerName 2026-04-27 19:22:40 +08:00
mlogclub 2d2d2d2051 feat: implement EnsureExternalCustomer method in CustomerService and refactor customer creation logic 2026-04-27 19:09:29 +08:00
mlogclub b3ef55b04e refactor: remove ExternalSource and ExternalID from Conversation model and related services, update references to use ChannelID instead 2026-04-27 19:04:10 +08:00
mlogclub 24105781d9 refactor: update visitor references to guest in WebSocket service and related files 2026-04-27 18:52:33 +08:00
mlogclub c14ade27e4 feat: update ExternalSource enum and labels to include User and adjust related mappings 2026-04-27 18:46:24 +08:00
mlogclub 9d2abcd702 fix: update CustomerSourceTypeWebChat to use ExternalSourceGuest and adjust related mappings
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 18:42:04 +08:00
mlogclub 73b78a817d refactor: remove ExternalType from CustomerIdentity and related structures 2026-04-27 18:40:25 +08:00
mlogclub f8b44ab127 feat: add ExternalType to ExternalInfo struct and update GetExternalInfo function 2026-04-27 18:22:14 +08:00
mlogclub feecbdf1d0 feat: add ExternalType to customer identity model and update related services and enums 2026-04-27 18:07:56 +08:00
mlogclub 1bb4608051 feat: add ChannelID to conversation model and update related services and responses 2026-04-27 17:59:23 +08:00
mlogclub bc98fc572f refactor: update externalName references in widget configuration and SDK 2026-04-27 16:51:13 +08:00
mlogclub cd9de63860 refactor: remove WeChat MP OAuth handling and related configurations 2026-04-27 16:30:58 +08:00
mlogclub 2220dcb0cb refactor: simplify WeChat MP OAuth handling and update channel configuration structure 2026-04-27 16:01:00 +08:00
mlogclub fbabb174d2 feat: add WeChat MP channel support and enhance widget configuration
- Updated output path for generated enums to reflect new structure.
- Enhanced ChannelController to handle WeChat MP OAuth authorization and callback.
- Introduced WechatMPChannelConfig DTO for WeChat MP specific configurations.
- Modified WidgetConfigResponse to include channel type and external source.
- Added enums for WeChat MP channel type and external source.
- Implemented OAuth flow for WeChat MP, including state signing and verification.
- Updated frontend forms to accommodate WeChat MP configurations.
- Enhanced API interactions to support WeChat MP external ID and source.
- Updated generated enums to include WeChat MP external source.
2026-04-27 15:42:04 +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 1e2a0c43d8 add web access guide component and enhance channel form with dynamic details 2026-04-27 14:16:38 +08:00
mlogclub 2dc4ff5980 refactor channel form layout and improve field labeling for better clarity 2026-04-27 11:57:40 +08:00
mlogclub cff474e392 improve error handling for WeCom KF accounts loading 2026-04-27 11:54:47 +08:00
mlogclub 12f66bcf27 add wxwork kf account management functionality 2026-04-27 11:43:34 +08:00
mlogclub 9a82a3ea52 update button layout and add SVG icon for customer service launcher 2026-04-27 11:20:36 +08:00
mlogclub e0b15c23d9 update gorm log config 2026-04-26 20:52:22 +08:00