iteration_list

Full iteration list view with Grid-aligned columns and count summary.

struct IterationEntry

source

pub struct IterationEntry

A single iteration entry for the list view.

Field Type Description
id String Short ID string displayed as the leading column.
prefix_len usize Number of highlighted prefix characters for this entry’s ID.
summary String Pre-rendered summary fragment (e.g. task count breakdown) shown after the title.
title String Iteration title rendered in the title column.

struct Component

source

pub struct Component

Full iteration list view using Grid for column alignment.

Field Type Description
entries Vec<IterationEntry> Iterations in display order; an empty list renders the empty-list message.

Implements Display.

Component::new

source

pub fn new(entries: Vec<IterationEntry>) -> Self

Create a list view from the entries, each carrying its own prefix length.

Parameter Type Description
entries Vec<IterationEntry> the iterations to list, in display order
returns Self The list view.