Call log

Call history the way a phone shows it: direction icons, outcomes, durations — and each row expands into the call's transcript.

Expand the completed call to read its transcript.

Installation

npx shadcn@latest add @handset/call-log

Installs call-transcript as a dependency for the expandable rows.

Usage

import { CallLog } from "@/components/handset/call-log";

<CallLog />                              // everything
<CallLog phoneNumberId={number.id} />    // one line's history

Props

Props
PropTypeDefaultDescription
tenantIdstringScope to one tenant (usually handled server-side).
phoneNumberIdstringOnly calls on one number.
formatNumber(e164: string) => stringUS formatterDisplay formatting for numbers.
pollMsnumber10000Refresh interval. 0 disables polling.
limitnumber25Page size.
classNamestringMerged onto the list wrapper.