Line

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

ui/client/features/tests/workflows/StepEditorMachine

Pure (WORKFLOW-001): what the step editor knows (the opened document, the draft, the selection, the review of the diff) and how each event changes it.

Cockpit client (features), v0.8. Source: ui/client/features/tests/workflows/StepEditorMachine.ts.

Variables#

initialStepEditor#

const initialStepEditor: StepEditorState

Defined in: ui/client/features/tests/workflows/StepEditorMachine.ts:8

Functions#

stepEditorReducer()#

stepEditorReducer(state, action): StepEditorState

Defined in: ui/client/features/tests/workflows/StepEditorMachine.ts:24

Parameters#

state

StepEditorState

action

StepEditorAction

Returns#

StepEditorState