summaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 03:59:52 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 04:00:33 +0300
commitf54d8e8c0aee5d3ec9724234d1bcd418bff8ff2f (patch)
tree67eb7fd76f668feab4b5a4ef245eea854a04d42d /src/app/state.rs
parent5e2dc40691e30f90c5fe3b1e60d5074ceb358556 (diff)
feat: add hidden collapsed sidebar mode
refs #842
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index 9e5dbed1..694ff252 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -1349,6 +1349,7 @@ pub struct AppState {
pub sidebar_width_source: SidebarWidthSource,
pub sidebar_width_auto: bool,
pub sidebar_collapsed: bool,
+ pub sidebar_collapsed_mode: crate::config::SidebarCollapsedModeConfig,
/// Ratio of sidebar height allocated to the workspaces section.
pub sidebar_section_split: f32,
pub agent_panel_sort: AgentPanelSort,
@@ -1708,6 +1709,7 @@ impl AppState {
sidebar_width_source: SidebarWidthSource::ConfigDefault,
sidebar_width_auto: false,
sidebar_collapsed: false,
+ sidebar_collapsed_mode: crate::config::SidebarCollapsedModeConfig::Compact,
sidebar_section_split: 0.5,
agent_panel_sort: AgentPanelSort::Spaces,
next_agent_state_change_seq: 0,