Line

ui/client/features/processes/components/ProcessArtifacts

Cockpit client (features), v0.9. Source: ui/client/features/processes/components/ProcessArtifacts.tsx.

Functions#

ProcessArtifacts()#

ProcessArtifacts(__namedParameters): Element | null

Defined in: ui/client/features/processes/components/ProcessArtifacts.tsx:19

Files the process changed: path, short hash, and the read-only diff on request. Once the process is finished the person can open the gate's review, where each file is approved or rejected on its own.

Props#

Prop Type Required Default Description
rows ArtifactRow[] Yes —
diffs Record<string, DiffResult> Yes —
processId string Yes —
canReview boolean Yes —
review `ReviewView null` Yes —
reviewLoading boolean Yes —
reviewError `string null` Yes —
onShowDiff (path: string) => void Yes —
onReview () => void Yes —
onDecide `(path: string, verdict: 'approve' 'reject', diffSha256: string null) => void` Yes

Returns#

Element | null