| 20 | History, |
| 21 | Collections, |
| 22 | Environments, |
| 23 | } |
| 24 | |
| 25 | #[derive(IntoElement)] |
| 26 | pub struct AppSidebar { |
| 27 | active_tab: SidebarTab, |
| 28 | history: Entity<HistoryEntity>, |
| 29 | collections: Entity<CollectionsEntity>, |
| 30 | environment_panel: Entity<EnvironmentPanel>, |
| 31 | history_search: Entity<InputState>, |
| 32 | collections_search: Entity<InputState>, |
| 33 | history_rows: Arc<Vec<HistoryRow>>, |
| 34 | history_rows_initialized: bool, |
| 35 | history_filter: HistoryFilter, |
| 36 | history_group_by: HistoryGroupBy, |
| 37 | tab_transition_progress: f32, |
| 38 | on_tab_change: Option<Rc<dyn Fn(SidebarTab, &mut Window, &mut App) + 'static>>, |
| 39 | on_load_history_request: Option<Rc<dyn Fn(Uuid, &mut Window, &mut App) + 'static>>, |
| 40 | on_delete_history_entry: Option<Rc<dyn Fn(Uuid, &mut Window, &mut App) + 'static>>, |
| 41 | on_toggle_star: Option<Rc<dyn Fn(Uuid, &mut Window, &mut App) + 'static>>, |
| 42 | on_clear_history: Option<Rc<dyn Fn(&mut Window, &mut App) + 'static>>, |
| 43 | on_load_collection_request: Option<Rc<dyn Fn(Uuid, Uuid, &mut Window, &mut App) + 'static>>, |
| 44 | on_delete_collection: Option<Rc<dyn Fn(Uuid, &mut Window, &mut App) + 'static>>, |
| 45 | on_delete_collection_node: Option<Rc<dyn Fn(Uuid, Uuid, &mut Window, &mut App) + 'static>>, |
| 46 | on_rename_collection: Option<Rc<dyn Fn(Uuid, String, &mut Window, &mut App) + 'static>>, |
| 47 | on_rename_collection_node: |
| 48 | Option<Rc<dyn Fn(Uuid, Uuid, String, &mut Window, &mut App) + 'static>>, |
| 49 | on_new_collection: Option<Rc<dyn Fn(&mut Window, &mut App) + 'static>>, |
| 50 | on_import_collection: Option<Rc<dyn Fn(&mut Window, &mut App) + 'static>>, |
| 51 | on_new_folder: Option<Rc<dyn Fn(Uuid, Option<Uuid>, &mut Window, &mut App) + 'static>>, |
| 52 | on_move_collection_node: Option<Rc<dyn Fn(Uuid, Uuid, &mut Window, &mut App) + 'static>>, |
| 53 | on_toggle_collection_expand: Option<Rc<dyn Fn(Uuid, &mut Window, &mut App) + 'static>>, |
nothing calls this directly
no outgoing calls
no test coverage detected