Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/review/domain/Badges

Pure (DOMAIN-001): turn a finished analysis into the badges the list shows.

Cockpit client (features), v0.8. Source: ui/client/features/review/domain/Badges.ts.

Functions#

badgesOf()#

badgesOf(analysis): Badge[]

Defined in: ui/client/features/review/domain/Badges.ts:28

The badges of one branch, or a single positive one when nothing was found.

Parameters#

analysis

AnalysisDone

Returns#

Badge[]


pendingText()#

pendingText(state): string | null

Defined in: ui/client/features/review/domain/Badges.ts:35

The single word for a row that has no badges yet.

Parameters#

state

"running" | "done" | "cancelled" | "error" | "none" | "queued" | "paused"

Returns#

string | null