Skip to main content

Crate orbok_ui

Crate orbok_ui 

Source
Expand description

§orbok-ui

The orbok GUI layer: snora 0.8 (iced 0.14) views, the navigation shell, and the typed i18n message catalog.

Boundary rules (RFC-027):

  • this crate performs no file-system access and no database accessorbok-app loads data through backend services and hands plain view-model structs to these views;
  • every user-visible string goes through the i18n catalog (RFC-031): adding a i18n::Locale without translating every i18n::MessageKey is a compile error.

Re-exports§

pub use shell::OrbokApp;
pub use state::AppState;
pub use state::IndexHealth;
pub use state::Message;
pub use state::NavGroup;
pub use state::SourceCard;
pub use state::ViewId;
pub use state::WizardFileCheck;
pub use state::WizardState;

Modules§

i18n
Typed i18n message catalog (RFC-031).
shell
Application shell (RFC-027): snora AppLayout with a two-level navigation: a vertical sidebar for the three top-level groups (Search, AI, Settings) and a horizontal tab bar for the sub-views within each group.
state
Headless UI state (view models) and the message vocabulary.
views
Page view functions (GUI external design §7, §8–§12 wireframes).

Constants§

LUCIDE_FONT_BYTES
Lucide icon font bytes — register with iced before launching the app. Bytes of the lucide font