Line

ui/client/features/processes/components/ArtifactReview

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

Functions#

ArtifactReview()#

ArtifactReview(__namedParameters): Element

Defined in: ui/client/features/processes/components/ArtifactReview.tsx:13

Review of a finished process's files, one file at a time. Each row shows the exact diff the gate would apply, every reason the gate refuses it, and its own Approve and Reject. There is deliberately no "approve all" and no override: Approve is disabled unless the gate cleared the file.

Props#

Prop Type Required Default Description
view ReviewView Yes —
onDecide `(path: string, verdict: 'approve' 'reject', diffSha256: string null) => void` Yes

Returns#

Element