4.2.0
Patterns

TimelineFeed

An append-only feed of what happened to one record, newest first — an activity log, not a place to hold a conversation.

Default

A vertical list of what happened, newest first. Each event may carry a cost.

  1. Deployed to productionci€0.42

    14:02 · build 4821
  2. Review approvedjavi

    13:48
  3. Opened pull requestjavi

    11:20
  4. Branch createdjavi

    11:04

Usage

import { TimelineFeed } from '@oceanic-hub/brand-system'

Reach for Item when the rows do not share one story — a settings list, a set of unrelated records. TimelineFeed earns its rule and its dots by being one continuous sequence in time; that chrome is decoration the moment the rows stop being events on the same thread.

Marker is the nearest primitive for an out-of-band row — a date divider, an unread rule — but TimelineFeed's own rows are one shape only (label/meta plus optional by/cost), with no slot for one today. An empty events array is legal and renders an empty list, not an empty state — the surface supplies its own "nothing yet" copy.

by is a bare actor name today, and it always renders with the same accent badge regardless of who acted — by: 'Automation' and by: 'Denise' are visually identical. In a product whose compliance story is which actions were an agent's and which were a person's, that is a known gap rather than a design, argued in the component's own contract test.

cost is a preformatted string, not a number — currency and precision are the surface's call, the same reason KPIStat's value is a string too.

Empty

An empty events array is legal — it renders an empty list, not an empty state. Nothing here knows what to say instead, so the surface supplies its own copy for "nothing yet".

Nothing has happened yet.

A feed a real feed can use

label and meta take nodes, which is the change the rest depend on: a row can carry a <time>, monospace tags, a chip and — for an event that has somewhere to go — a button. A control cannot be smuggled through a string. tone colours the marker, so a failure and a routine notice do not read the same. icon replaces the dot, because a marker that is always the same shape is an anonymous dot however carefully the host maps its event kinds. And by takes a node: a string keeps the shipped sparkle-and-chip treatment, a node renders bare, because a host passing its own attribution component has already decided how it looks.

  1. Dispatchedwave-3 · ticket 4Automation

    attempt 1 of 2
  2. Gate failed on the integration stage$0.11

  3. Gate passed on the second attemptAutomation$0.42

  4. Merged into the integration branch

  5. Released

    awaiting the registry
  1. CreatedDenise

    yesterday
  2. AssignedDenise$0.00

    yesterday

API Reference

See the TimelineFeed API page for every prop of every part, with types, defaults and the contract that pins them.

On this page