Commit Graph

20 Commits

Author SHA1 Message Date
mlogclub f287727c59 feat: add JWT authentication support to KefuWidgetDemo 2026-04-28 18:31:47 +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 67900d9849 feat: replace ImMessageEditor with AgentMessageEditor and CustomerMessageEditor, refactor shared message editor logic
- Introduced AgentMessageEditor component for agent message handling.
- Created CustomerMessageEditor component to handle customer messages.
- Refactored shared message editor logic into SharedMessageEditor.
- Removed the old KefuMessageEditor component.
- Updated chat panel to use the new AgentMessageEditor.
- Updated KefuChatShell to use CustomerMessageEditor instead of KefuMessageEditor.
- Added quick reply fetching and handling in AgentMessageEditor.
2026-04-25 18:33:32 +08:00
mlogclub 9a2ae5c505 refactor: implement MessageImageExtension for enhanced image handling in message editors 2026-04-25 18:17:08 +08:00
mlogclub 7945fc32f6 refactor: enhance image uploading feedback in message editors with new class handling 2026-04-25 18:15:46 +08:00
mlogclub 65d8a9267c refactor: enhance image upload handling in message editors with centralized logic 2026-04-25 17:38:07 +08:00
mlogclub 2af8d831a7 refactor: enhance image handling in message editor with centralized functions 2026-04-25 17:37:34 +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 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 ea94837db2 feat: add web channel configuration support and update widget response structure 2026-04-24 22:24:19 +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