Skip to content
Twentyfirst UIHalo

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

PropTypeNotes
linesLogLine[]Required
title?ReactNode
right?ReactNode
numbers?boolean
follow?boolean
maxHeight?number
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

RunHistory

PropTypeNotes
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?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

WebhookEndpoint

PropTypeNotes
urlstringRequired
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?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.