From 5cfe5e5e730246948b0c9428ad876b6938590aad Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 13 Jul 2026 03:26:03 +0300 Subject: feat: add configurable sidebar metadata tokens --- src/config/model.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/config/model.rs') diff --git a/src/config/model.rs b/src/config/model.rs index 16bc595d..60dd2471 100644 --- a/src/config/model.rs +++ b/src/config/model.rs @@ -4,8 +4,8 @@ use crossterm::event::KeyModifiers; use serde::{de, Deserialize, Deserializer, Serialize}; use super::{ - ActionKeybinds, BindingConfig, CommandKeybindConfig, IndexedKeybind, Keybinds, SoundConfig, - ThemeConfig, DEFAULT_MOBILE_WIDTH_THRESHOLD, DEFAULT_MOUSE_SCROLL_LINES, + ActionKeybinds, BindingConfig, CommandKeybindConfig, IndexedKeybind, Keybinds, SidebarConfig, + SoundConfig, ThemeConfig, DEFAULT_MOBILE_WIDTH_THRESHOLD, DEFAULT_MOUSE_SCROLL_LINES, DEFAULT_SCROLLBACK_LIMIT_BYTES, }; @@ -810,6 +810,8 @@ pub struct UiConfig { pub hide_tab_bar_when_single_tab: bool, /// Agent sidebar ordering. Saved values are "spaces" or "priority". Default: "spaces". pub agent_panel_sort: AgentPanelSortConfig, + /// Expanded sidebar row composition. + pub sidebar: SidebarConfig, /// Accent color for highlights, borders, and navigation UI. /// Accepts hex (#89b4fa), named colors (cyan, blue), or RGB (rgb(137,180,250)). pub accent: String, @@ -1003,6 +1005,7 @@ impl Default for UiConfig { show_agent_labels_on_pane_borders: false, hide_tab_bar_when_single_tab: false, agent_panel_sort: AgentPanelSortConfig::Spaces, + sidebar: SidebarConfig::default(), accent: "cyan".into(), toast: ToastConfig::default(), sound: SoundConfig::default(), -- cgit v1.2.3