Mountain/ApplicationState/State/UIState/mod.rs
1//! # UIState Module (ApplicationState)
2//!
3//! ## RESPONSIBILITIES
4//! Manages user interface request state including pending UI interactions
5//! such as dialogs, prompts, and other synchronous UI requests.
6//!
7//! ## ARCHITECTURAL ROLE
8//! UIState is part of the **state organization layer**, representing
9//! user interface request state.
10//!
11//! ## KEY COMPONENTS
12//! - State: Main struct containing pending UI requests
13//!
14//! ## ERROR HANDLING
15//! Uses `Arc<Mutex<...>>` for thread-safe access with proper error handling.
16//!
17//! ## LOGGING
18//! State changes are logged at appropriate levels.
19//!
20//! ## PERFORMANCE CONSIDERATIONS
21//! - Lock mutexes briefly
22//! - Avoid nested locks
23//! - Use Arc for shared ownership
24//!
25//! ## TODO
26//! - [ ] Add UI request validation
27//! - [ ] Implement UI request timeout
28//! - [ ] Add UI request metrics
29
30pub mod UIState;
31
32pub use UIState::*;