diff options
Diffstat (limited to 'src/config/model.rs')
| -rw-r--r-- | src/config/model.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config/model.rs b/src/config/model.rs index 97b8c7fa..5cbafaec 100644 --- a/src/config/model.rs +++ b/src/config/model.rs @@ -106,6 +106,13 @@ impl AgentPanelSortConfig { } } +#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize)] +#[serde(rename_all = "lowercase")] +enum LegacyAgentPanelScopeConfig { + Current, + All, +} + #[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize, Default)] #[serde(rename_all = "lowercase")] pub enum StatusIndicatorStyle { @@ -843,6 +850,9 @@ pub struct UiConfig { pub tab_bar_position: TabBarPositionConfig, /// Agent sidebar ordering. Saved values are "spaces" or "priority". Default: "spaces". pub agent_panel_sort: AgentPanelSortConfig, + /// Retired setting that Herdr wrote before the workspace filter was removed. + #[serde(rename = "agent_panel_scope")] + _legacy_agent_panel_scope: Option<LegacyAgentPanelScopeConfig>, /// Agent status indicator style. Saved values are "dots" or "symbols". Default: "dots". pub status_indicators: StatusIndicatorStyle, /// Expanded sidebar row composition. @@ -1048,6 +1058,7 @@ impl Default for UiConfig { hide_tab_bar_when_single_tab: false, tab_bar_position: TabBarPositionConfig::Top, agent_panel_sort: AgentPanelSortConfig::Spaces, + _legacy_agent_panel_scope: None, status_indicators: StatusIndicatorStyle::Dots, sidebar: SidebarConfig::default(), accent: "cyan".into(), |
