@objectifthunes/whiteboard
PAGE SECTIONS

ActivityTimeline

An audit trail: what happened, who did it, when. Does not sort or format, because both are the caller’s call.


PREVIEW
  1. Payment received in fullSystem2 hours ago
  2. Reminder sent to billing@acme.exampleSystem11 Sep
  3. Passed due dateSystem11 Sep
  4. Created INV-2043Max Gumiero12 Aug
Empty

No activity yet

Actions on this record will show up here.

SOURCE
import { ActivityTimeline } from '@objectifthunes/whiteboard'

<ActivityTimeline
  entries={[
    { id: '3', what: 'Reminder sent', at: '2 hours ago', tone: 'warning' },
    { id: '2', what: 'Passed due date', at: '11 Sep', tone: 'danger' },
    { id: '1', what: 'Created INV-2043', who: 'Max Gumiero', at: '12 Aug' },
  ]}
/>
NOTES

Deliberately does not sort or format. Timestamps arrive as nodes because only you know whether \u201c2 hours ago\u201d or an absolute date is right, and ordering is a query concern rather than a display one. The order you pass is the order shown.

The rail is drawn per entry rather than as one long line, so the last entry stops at its own marker instead of trailing into nothing.

tone colours the marker and matches Pill\u2019s tones.