Run History
Admin · LogView, RunHistory, WebhookEndpoint
Background work: RunHistory (scraping jobs, cron, imports) and WebhookEndpoint (an outgoing or incoming hook with its deliveries).
RunHistory: items ({id, name, status, started, duration, by, counts: {value, label, tone}, detail (node; makes the row expandable)}), label.
WebhookEndpoint: url, events, status + statusLabel, successRate, enabled + onToggle, secret (node, e.g. SecretField), deliveries ({id, code, event, time, ms}), onRetry(delivery), menu, defaultOpen.
https://api.homefield.com/hooks/stripecheckout.session.completed, invoice.paid, customer.subscription.deleted
Active98.7%200invoice.paid09:41 · 182 ms
500checkout.session.completed09:12 · 3,012 ms
200customer.subscription.deletedYesterday · 240 ms
Props
LogView
| Prop | Type | Notes |
|---|---|---|
lines | LogLine[] | Required |
title? | ReactNode | |
right? | ReactNode | |
numbers? | boolean | |
follow? | boolean | |
maxHeight? | number | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
RunHistory
| Prop | Type | Notes |
|---|---|---|
items | { id: string | number; name: string; status: Status; started?: string; duration?: string; by?: string; counts?: { value: number; label: string; tone?: Tone }[]; detail?: ReactNode; }[] | Required |
label? | string | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
WebhookEndpoint
| Prop | Type | Notes |
|---|---|---|
url | string | Required |
events? | string[] | |
status? | Status | |
statusLabel? | string | |
successRate? | number | |
enabled? | boolean | |
onToggle? | () => void | |
secret? | ReactNode | |
deliveries? | { id: string | number; code?: number; event: string; time?: string; ms?: number }[] | |
onRetry? | (d: NonNullable<WebhookEndpointProps["deliveries"]>[number]) => void | |
menu? | MenuProps["items"] | |
defaultOpen? | boolean | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |