add logic, not working tho

This commit is contained in:
filipriec
2025-05-23 13:34:49 +02:00
parent 5478a2ac27
commit 58fdaa8298
15 changed files with 671 additions and 72 deletions

View File

@@ -2,6 +2,7 @@
use ratatui::widgets::ListState;
use crate::state::pages::add_table::AddTableState;
use crate::state::pages::add_logic::AddLogicState;
// Define the focus states for the admin panel panes
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
@@ -24,6 +25,7 @@ pub struct AdminState {
pub selected_table_index: Option<usize>, // Index with [*] in tables (persistent)
pub current_focus: AdminFocus, // Tracks which pane is focused
pub add_table_state: AddTableState,
pub add_logic_state: AddLogicState,
}
impl AdminState {