src/components/history-timeline.tsxHistory Timeline
A record’s audit trail as a card: who did what and when, newest first, with the reason, the note and the before and after. Color means consequence, not action. People, cars, locations, franchises, certificates and catalog items all draw their History from it, each mapping its own events into rows.
A car’s history
Five rows show, and the rest wait behind a one-way show-more. The oldest row names nobody, so it reads as a plain sentence.
History
Alex Reyes returned it to serviceAug 6, 2026
Repair completed
Alex Reyes logged a serviceAug 5, 2026
Repair at Katy Auto Care, Aug 5, 2026
Dana Whitfield took it off the roadJul 30, 2026
Repair booked
Rear bumper scuffed in the lot. Booked in for Wednesday.
Alex Reyes moved it to KatyJul 14, 2026
Covering a car off the road
Dana Whitfield corrected its detailsJun 2, 2026
- Plate RKT 4471 RKT 4417
Searchable
A student’s log, the one checked against a dispute. The search reads every word on a row and forgives a typo.
History
Nadia Marsh lifted the lockAug 4, 2026
Document received and accepted
Nadia Marsh locked the accountJul 29, 2026
Learner license not on file
Asked the guardian to upload it before Saturday’s drive.
Priya Raman moved them from Memorial to KatyJul 3, 2026
Closer or more convenient location
Nadia Marsh changed contact detailsJun 18, 2026
- Phone (281) 555-0142 (281) 555-0178
Bare
No card and no heading, for a frame that already says History, like an offer’s drawer.
Priya Raman edited itJul 20, 2026
- Ends Aug 31, 2026 Sep 30, 2026
Priya Raman added itJul 1, 2026
Empty
The card stays: a record nobody has touched says so, which is reassuring on an audit surface.
History
Nothing recorded yet
Time off the road, moves and returns to service appear here.
Used on
- Console
- /console/admin/history/console/business-reporting/btw-hours/console/business-reporting/enrollment/console/business-reporting/fleet-size/console/business-reporting/payroll/console/catalog/console/catalog/contracts/[id]/console/certificates/console/curriculum/console/financials/console/financials/balances/console/financials/earned/console/financials/refunds/console/financials/sales/console/financials/transactions/console/financials/waived-fees/console/fleet/[id]/console/locations/[id]/console/locations/franchises/[id]/console/people/[id]/console/reporting/certificate-upload/console/reporting/dps-report/console/reporting/student-records