InboxChat
Chat View
The full conversation interface for interacting with contacts
The Chat view is the main interface for managing individual conversations. When you select a conversation from the chat list, the right panel opens the full chat thread.
Layout
The chat view consists of several components:
| Area | Purpose |
|---|---|
| Header | Chat status, assignment, actions, and in-chat search |
| Message Thread | Full conversation history with infinite scroll |
| AI Bar | Toggle AI auto-reply for this specific chat |
| Editor | Message composition with rich editing and attachments |
| Profile Sidebar | Contact details (toggle from header) |
Message Thread
Messages are loaded with cursor-based pagination. As you scroll up, older messages load automatically. The thread supports:
- Lazy loading — Messages load in pages as you scroll
- Infinite scroll — Seamless pagination in both directions
- Message navigation — Jump to specific messages (e.g., from search results)
- Smooth scrolling — Animated scroll to newest messages
- Real-time updates — New messages appear instantly via WebSocket subscriptions
Message Read Tracking
Messages are automatically marked as read when they enter the viewport, using an Intersection Observer. Only unread inbound messages are marked, and read events are batched to minimize network requests.
Real-time Updates
The chat view subscribes to real-time events including:
- New incoming messages
- Message delivery status changes
- Chat status updates
- Assignment changes
- Blocking status updates