Line

ui/client/features/review/workflows/ListMachine

Pure (WORKFLOW-001): what the Review branch list knows, and how each event changes it.

Cockpit client (features), v0.9. Source: ui/client/features/review/workflows/ListMachine.ts.

Variables#

initialList#

const initialList: ListState

Defined in: ui/client/features/review/workflows/ListMachine.ts:6

Functions#

listData()#

listData(state): BranchList | null

Defined in: ui/client/features/review/workflows/ListMachine.ts:23

The rows, once read; null while idle, loading or failed.

Parameters#

state

ListState

Returns#

BranchList | null


listIsSettling()#

listIsSettling(state): boolean

Defined in: ui/client/features/review/workflows/ListMachine.ts:26

True while any row is still being analysed (the list keeps polling until this is false). Never true for a list that is not ready.

Parameters#

state

ListState

Returns#

boolean


listReducer()#

listReducer(state, action): ListState

Defined in: ui/client/features/review/workflows/ListMachine.ts:8

Parameters#

state

ListState

action

ListAction

Returns#

ListState