Skip to main content
Call Log Details shows call metadata, participants, duration, recordings, and history when a user selects a call from the Calls tab. Before starting, complete the Getting Started guide for your framework and install @cometchat/calls-sdk-javascript.

Components


Integration Steps

1. Calls Tab Integration

Render CometChatCallLogs when the “Calls” tab is active. When a call is clicked, dispatch it to the app state so the details panel can display it. File: CometChatSelector.tsx

2. Call Details Component

Guard-check that the selected item is a CometChat.Call instance, then render CometChatCallDetails. The onBack callback clears the selection and returns to the call list. File: CometChatHome.tsx

3. Call Details Implementation

The main details screen. It shows the caller’s avatar and name at the top, call info (status, duration) below, and three tabs: Participants, Recording, and History. Tab selection switches the content panel. File: CometChatCallLogDetails.tsx

4. Call Information Display

Renders the call status line (incoming/outgoing) based on who initiated the call. Compares the initiator’s UID against the logged-in user to determine direction, then maps the SDK call status to a localized label. File: CometChatCallLogInfo.tsx

Feature Matrix


Next Steps

Call Logs

The call logs component reference.

Call Features

Overview of calling capabilities.

All Guides

Browse all feature and formatter guides.

Sample App

Full working sample application on GitHub.