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.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { KefuChatShell } from "@/components/kefu/chat-shell"
|
||||
|
||||
export default function Page() {
|
||||
return <KefuChatShell />
|
||||
}
|
||||
Reference in New Issue
Block a user