use ui::widgets::Status;
for run in calls.chunk_by(|a, b| a.verb == b.verb) {
let row = theme
.step_row(run[0].icon, run[0].verb, Some(format!("· {}", run.len()).into()), None, failed, Some(open))
.id(SharedString::from(format!("group-{start}")))
.on_click(cx.listener(move |view, _, _, cx| view.toggle(start, cx)));
// open: one row per call, each `theme.step_output(id, output)` under it
}.idand.on_clickgo on the rowstep_rowreturns, never on a wrapper.expanded: Nonedraws no chevron; the caller owns the open flag.- There is no tool-call type: icon, verb, detail and duration are the app's strings. See
step_row; the demo isapps/gallery/src/pages/agent/activity.rs.