gpui-kit GitHub

Components

Timeline builder

A chronological feed, optionally divided into days.

A builder is RenderOnce. Construct and mount it in one expression.

use gpui_kit::display::Timeline;

Construct

new(ident: impl Into<Ident>) -> Self

Options

Chain onto the value.

group(group: TimelineGroup) -> Self
groups(groups: impl IntoIterator<Item = TimelineGroup>) -> Self
entries(entries: impl IntoIterator<Item = TimelineEntry>) -> Self

Rendered by

Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.

Source: crates/gpui-kit/src/display/timeline.rs