From fb93e3747544afc3288d7b5e831d5ca3dd5c3768 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 19 May 2026 23:58:17 +0300 Subject: feat: surface agent integrations in onboarding --- src/app/state.rs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/app/state.rs') diff --git a/src/app/state.rs b/src/app/state.rs index 34be58d2..746474df 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -620,10 +620,17 @@ pub enum SettingsSection { Sound, Toast, PaneLabels, + Integrations, } impl SettingsSection { - pub const ALL: &[Self] = &[Self::Theme, Self::Sound, Self::Toast, Self::PaneLabels]; + pub const ALL: &[Self] = &[ + Self::Theme, + Self::Sound, + Self::Toast, + Self::PaneLabels, + Self::Integrations, + ]; pub fn label(self) -> &'static str { match self { @@ -631,6 +638,7 @@ impl SettingsSection { Self::Sound => "sound", Self::Toast => "toasts", Self::PaneLabels => "pane labels", + Self::Integrations => "integrations", } } } @@ -972,6 +980,10 @@ pub struct AppState { pub theme_name: String, /// Settings panel state. pub settings: SettingsState, + /// Cached integration recommendations for onboarding/settings UI. + pub integration_recommendations: Vec, + /// Result messages from the latest integration install action. + pub integration_install_messages: Vec, /// Highlight state for the bottom-right global launcher menu. pub global_menu: MenuListState, /// Resolved host terminal default colors for theming embedded panes. @@ -1279,6 +1291,8 @@ impl AppState { original_palette: None, original_theme: None, }, + integration_recommendations: Vec::new(), + integration_install_messages: Vec::new(), global_menu: MenuListState::new(0), host_terminal_theme: TerminalTheme::default(), session_dirty: false, -- cgit v1.2.3