Skip to main content

orbok_ui/
lib.rs

1//! # orbok-ui
2//!
3//! The orbok GUI layer: snora 0.8 (iced 0.14) views, the navigation
4//! shell, and the typed i18n message catalog.
5//!
6//! Boundary rules (RFC-027):
7//! - this crate performs **no file-system access** and **no database
8//!   access** — `orbok-app` loads data through backend services and
9//!   hands plain view-model structs to these views;
10//! - every user-visible string goes through the [`i18n`] catalog
11//!   (RFC-031): adding a [`i18n::Locale`] without translating every
12//!   [`i18n::MessageKey`] is a compile error.
13
14pub mod i18n;
15pub mod shell;
16pub mod state;
17pub mod views;
18
19#[cfg(test)]
20mod tests;
21
22pub use shell::OrbokApp;
23pub use state::{AppState, IndexHealth, Message, SourceCard, ViewId};