Skip to main content

Module state

Module state 

Source
Expand description

Headless UI state (view models) and the message vocabulary.

Everything here is plain data — testable without a display server. orbok-app populates these structs from backend services; views render them; update mutates them. No iced types appear in this module so state logic stays UI-framework-agnostic.

Structs§

AppState
The whole-app view model.
IndexHealth
Sidebar index-health summary.
SearchResultDisplay
A search result ready for display — pure data, no backend types (RFC-027 boundary rule).
SourceCard
One source card for the Sources view.
WizardFileCheck
One required file and its check result shown in the wizard.

Enums§

Message
UI messages.
NavGroup
Top-level navigation group for the two-level sidebar + tab layout.
ViewId
Top-level pages (GUI external design §3.1 order).
WizardState
Which stage of the startup wizard the user is on.