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#
constinitialList: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
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
Returns#
boolean
listReducer()#
listReducer(
state,action):ListState
Defined in: ui/client/features/review/workflows/ListMachine.ts:8