ui/client/features/review/domain/Badges
Pure (DOMAIN-001): turn a finished analysis into the badges the list shows.
Cockpit client (features), next. 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
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
"none" | "running" | "done" | "cancelled" | "error" | "queued" | "paused"
Returns#
string | null