TaskProgress
API reference and demos for TaskProgress.
Import
Section titled “Import”import { TaskProgress } from "@flanksource/clicky-ui/data";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
compact |
boolean |
— | Tighter spacing for embedding in a panel. |
connectionStatus |
string |
— | — |
extraTabs |
TaskExtraTabs |
— | Contributes host-owned output panes alongside a task's own stdout/stderr — an agent's session transcript, say, which this module has no way to fetch. |
headerExtra |
TaskHeaderExtra |
— | Replaces the content beside a task's name in its header row. Returning null for a task falls back to the default, which chips the scalar values of its process metadata. |
initialShowAllTasks |
boolean |
— | Show every child task when the group first opens. |
metricsBaseUrl |
string |
— | — |
onControl |
(…) => void | Promise<void> |
— | — |
onTaskControl |
(…) => void | Promise<void> |
— | — |
promptBasePath |
string |
/api/todos |
Base path the prompt API is mounted under; a task's pending prompts are answered there. |
snapshots* |
TaskSnapshot[] |
— | — |
title |
string |
— | — |