TraceWindowList
One fixture’s trace windows: what each captured (kind, record count, summary chips), a link into the query app at exactly that window, per-format export downloads and an inline viewer of its records. Windows of a run whose store is not served say why, once per reason. Props-only: the host resolves stores and builds the URLs.
Import
Section titled “Import”import { TraceWindowList } 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 |
|---|---|---|---|
error |
string |
— | A failure that applies to the whole list, such as the export formats not loading. |
exportUrl* |
(…) => string |
— | Download URL of a window in one export format. |
fetchRecords* |
(…) => Promise<TraceRow[]> |
— | Reads a window's records for the inline viewer. Must reject on failure and honour `signal`. |
formats* |
(…) => { name: string; }[] |
— | The export formats of a kind, for example `[{ name: "har" }]`. |
openUrl* |
(…) => string |
— | URL of the query app opened at exactly this window. |
resolve* |
(…) => TraceWindowSource |
— | Resolves the store of a window's run. |
windows* |
TraceWindow[] |
— | — |