Request submitted
Travel expense reimbursement for the Cairo client visit.
Chapter 11 Data
A chronological record of decisions and updates. Each event can show who acted, when it happened, and the outcome, so a case's approval history is easy to scan.
import { TimelineComponent } from '@okaapi-ui/angular';A manager approved the request, finance is reviewing it, and the owner is notified once the final decision is made.
Travel expense reimbursement for the Cairo client visit.
Approved within the department travel budget.
<ui-timeline label="Approval history for case 1042" [items]="approvals" />
approvals = [
{ title: 'Request submitted', actor: 'Ibrahim Mohamed', date: '18 Nov 2026, 09:14' },
{ title: 'Manager approval', actor: 'Mohamed Hatem', date: '18 Nov 2026, 11:42',
status: 'approved', description: 'Approved within the department travel budget.' },
{ title: 'Finance review', actor: 'Finance team', date: 'In progress', status: 'pending' },
];<ui-timeline label="سجل الموافقات" [items]="arabicApprovals" />
{ title: 'موافقة المدير', date: '١٨ نوفمبر ٢٠٢٦، ١١:٤٢',
status: 'approved', statusLabel: 'تمت الموافقة' }| If you need | Use |
|---|---|
| Steps still to do | Stepper |
| Many records to sort and filter | Data table |
| Name | Type | Default | What it does |
|---|---|---|---|
label | string | — | Required. Names the ordered history list. |
items | TimelineItem[] | — | Required. Events in chronological order. |
TimelineItem | { title, date, dateTime?, actor?, description?, status?, statusLabel? } | — | Event details. dateTime is a machine-readable value for the semantic time element. |
status | 'approved' | 'pending' | 'rejected' | — | Adds a status icon and tone label to the event. |
statusLabel | string | — | Overrides the default status text, including for translation. |