Skip to main content

Module app

Module app 

Source
Expand description

The application model: state, messages, commands, and the reducer.

Elm-style unidirectional flow: update(&mut App, Msg) is pure state mutation — it never blocks and never touches the disk. Side effects are requested as Commands that the main loop drains to the worker thread, plus two main-thread specials ($EDITOR suspension and OSC 52 copy).

Structs§

App
The whole application state.
ComputationsState
Computations workspace state.
ConfirmState
Confirm overlay state.
DatePickerState
Date-picker overlay state (stale extension / today pinning).
DiagRow
One row of the merged diagnostics overlay.
DiagnosticsState
Diagnostics overlay state.
ExplorerState
Explorer workspace state.
FixPreviewState
Fix preview overlay state.
GraphState
Graph workspace state.
NewConceptState
New-concept form state.
OutlineState
Outline overlay state.
PaletteState
Palette overlay state.
RefactorState
Refactor modal state: intent → (decision) → preview.
Toast
A transient status message.
TreeRow
One visible row of the flattened tree.
TrustState
Mission-control workspace state.

Enums§

Cohort
A cohort filter applied to the attention queue.
ColorBy
The dimension the graph colors nodes by.
Command
A side-effect request executed by the worker thread.
CompPane
Which computations pane has focus.
ConfirmAction
What a confirm overlay confirms.
DiagFilter
Diagnostics overlay filter.
ExplorerPane
Which explorer pane has focus.
LoadPhase
What background work is in flight, for the status-bar spinner.
Msg
An input message consumed by App::update.
Overlay
An open overlay. Overlays stack; Esc closes the topmost.
PaletteMode
The palette’s mode, derived from its input prefix.
PaletteResults
The palette’s computed results.
PreviewReport
A dry-run (or applied) refactor report.
QueueSort
Attention-queue sort order.
RefactorOp
A refactor operation, shared by preview and apply.
RemoveChoice
The remove modal’s decision, mapped 1:1 to okf_core::RemoveOptions.
TreeRowKind
The payload of a tree row.
TreeSel
What the tree selection points at. Selection is held by identifier, not index, so it survives snapshot swaps.
TrustPanel
Which mission-control panel has focus.
VerbKind
The refactor verb a modal drives.