recruit/call-reconcile-card · CallReconcileCard
Call matching
A recorded call nobody is attached to yet, and the one decision it needs: attach it to a person, create one from it, or dismiss it.
Intro call
Tuesday · 32 min·Recorded call
JM
Jordan Mbeki
RO
Riley O.
Summary
Attach this call to a person
Search or add them below to attach the conversation and keep their history and future recommendations together.
Possible matches
Install
With your coding agent
Install RecruiterOS/recruit-ui and build a queue of unmatched calls to attach to the right person.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
CallReconcileCard
| Prop | Type | What it does |
|---|---|---|
| title | ReactNode | |
| source | ReactNode | |
| summary | ReactNode | The gist of the call, clamped with a show-more toggle when long. |
| timestamp | ReactNode | |
| participants | readonly CallParticipant[] | Who was on the call. Also offered as shortcuts in the create dialog. |
| transcript | ReactNode | The transcript preview, until the full transcript loads. |
| segments | readonly CallSegment[] | null | |
| loadTranscript | () => Promise<CallTranscript | null | undefined> | Fetches the full transcript the first time it is opened. |
| owner | CallReconcileOwner | Whose call it is, as a badge in the header. |
| suggestions | ReactNode | The host's own controls for the people the call may be about, under the possible-matches eyebrow: buttons that confirm before attaching, say. Shown in place of the buttons `guesses` renders. |
| suggestedPerson | CallReconcileSuggestedPerson | null | Named in the hint and the search, and seeds the create dialog. |
| onDismissrequired | () => void | |
| labels | Partial<CallReconcileCardLabels> | |
| className | string | Class for the card. Its root is the kit's CallCard, which takes no other attributes. |
CallReconcileCard, picking the person itself
| Prop | Type | What it does |
|---|---|---|
| guesses | readonly TPerson[] | People the call may be about, offered first. |
| searchPeoplerequired | SearchCallPeople<TPerson> | |
| externalSearch | ReactNode | Beside the search field, such as a button that looks the suggested person up elsewhere. |
| onAttachrequired | (person: TPerson) => void | Attaches the call to a person picked from the guesses or the search, after the preview. |
| onCreateAttachrequired | (person: CallReconcileNewPerson) => void | Creates a person from the create dialog and attaches the call to them. |
| renderPreviewrequired | (person: TPerson, close: () => void) => ReactNode | The preview of a picked person, above Cancel and Attach this call. `close` dismisses the preview without attaching. |
CallReconcileCard, with your own picker
| Prop | Type | What it does |
|---|---|---|
| onPickOtherrequired | () => void | Opens the host's people picker. |
Data
On the Kith data layer, a call is attached to a candidate's record. With your own backend, pass your own people search and callbacks.