ui/client/features/notes/workflows/NotesMachine
Pure (WORKFLOW-001): what the Notes screen knows, and how each event changes it.
Cockpit client (features), v0.9. Source: ui/client/features/notes/workflows/NotesMachine.ts.
Variables#
initialScreen#
constinitialScreen:ScreenState
Defined in: ui/client/features/notes/workflows/NotesMachine.ts:10
Functions#
openRow()#
openRow(
state):NoteRow|null
Defined in: ui/client/features/notes/workflows/NotesMachine.ts:74
The list row to show for the open note, with the page's unsaved text (so the list follows typing).
Parameters#
state
Returns#
NoteRow | null
screenReducer()#
screenReducer(
state,action):ScreenState
Defined in: ui/client/features/notes/workflows/NotesMachine.ts:20