Record Timeline
CRM · RecordTimeline, Panel
Everything that happened on a record, newest first and grouped by day: emails, calls, meetings, notes, tasks, stage changes, documents and system events.
- Pinned entries stay on top. Chips filter by type (
filters={false}hides them). onAdd(type, text)shows a composer for a note, a call or a task.- "Today" and "Yesterday" come from
Intl.RelativeTimeFormat; passnowfor stable output.
Activity
Pinned
Decision maker is Henrik, Lena prepares
Budget approved for Q1. Henrik wants two references from outdoor retail.
Today
Re: Revised proposal for the renewal
Thanks Mara, the new payment terms work for us. Legal will have a look this week.
Yesterday
Moved from Proposal to Negotiation
Call about payment terms
Agreed on quarterly invoicing. Lena sends the contract to legal by Friday.
Friday, November 13
Proposal v2 sent
Tuesday, November 10
Workshop: scope for 2027
Props
RecordTimeline
| Prop | Type | Notes |
|---|---|---|
entries | RecordEntry[] | Required |
now? | Date | string | number | "Now" for the day headings; pass it so server and client render the same. |
filters? | boolean | Chips that filter by type (default true). |
onAdd? | (type: "note" | "call" | "task", text: string) => void | Adds the composer for a note, a logged call or a task. |
label? | string | Accessible name (default "Activity"). |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
Panel
| Prop | Type | Notes |
|---|---|---|
side? | boolean | |
title? | string | |
subtitle? | string | |
action? | ReactNode | |
children? | ReactNode | |
surface? | Surface | `"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`. |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |