Mountain/ApplicationState/State/FeatureState/TreeViews/
mod.rs

1//! # TreeViewState Module (ApplicationState)
2//!
3//! ## RESPONSIBILITIES
4//! Manages tree view providers state including tree view metadata and content.
5//!
6//! ## ARCHITECTURAL ROLE
7//! TreeViewState is part of the **FeatureState** module, representing
8//! tree view providers state organized by tree view ID.
9//!
10//! ## KEY COMPONENTS
11//! - TreeViewState: Main struct containing active tree views map
12//!
13//! ## ERROR HANDLING
14//! Uses `Arc<Mutex<...>>` for thread-safe access with proper error handling.
15//!
16//! ## LOGGING
17//! State changes are logged at appropriate levels.
18//!
19//! ## PERFORMANCE CONSIDERATIONS
20//! - Lock mutexes briefly
21//! - Avoid nested locks
22//! - Use Arc for shared ownership
23//!
24//! ## TODO
25//! - [ ] Add tree view validation
26//! - [ ] Implement tree view events
27//! - [ ] Add tree view metrics
28
29pub mod TreeViewState;