From a7be96cb8c3f7bd5fa8d69b1eb903bf84f467eca Mon Sep 17 00:00:00 2001 From: js <46874769+javier-solis@users.noreply.github.com> Date: Mon, 4 May 2026 20:59:02 -0700 Subject: [PATCH] Update panel dock default values in settings docs (#55719) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The [Parallel Agents release](https://zed.dev/blog/parallel-agents) introduced a new default layout: the agent panel now docks on the left, while the project, git, outline, and collaboration panels now dock on the right. The rustdoc comments in `crates/settings_content` were not updated to reflect this change. This PR corrects the `Default:` values in the following structs: - `ProjectPanelSettingsContent.dock`: `left` → `right` - `GitPanelSettingsContent.dock`: `left` → `right` - `PanelSettingsContent.dock` (collaboration panel): `left` → `right` - `OutlinePanelSettingsContent.dock`: `left` → `right` - `AgentSettingsContent.dock`: `right` → `left` Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - N/A --- crates/settings_content/src/agent.rs | 2 +- crates/settings_content/src/settings_content.rs | 6 +++--- crates/settings_content/src/workspace.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/settings_content/src/agent.rs b/crates/settings_content/src/agent.rs index 26b563e084..431937dce3 100644 --- a/crates/settings_content/src/agent.rs +++ b/crates/settings_content/src/agent.rs @@ -84,7 +84,7 @@ pub struct AgentSettingsContent { pub button: Option, /// Where to dock the agent panel. /// - /// Default: right + /// Default: left pub dock: Option, /// Whether the agent panel should use flexible (proportional) sizing. /// diff --git a/crates/settings_content/src/settings_content.rs b/crates/settings_content/src/settings_content.rs index 02fe409c63..1124e2ac94 100644 --- a/crates/settings_content/src/settings_content.rs +++ b/crates/settings_content/src/settings_content.rs @@ -647,7 +647,7 @@ pub struct GitPanelSettingsContent { pub button: Option, /// Where to dock the panel. /// - /// Default: left + /// Default: right pub dock: Option, /// Default width of the panel in pixels. /// @@ -756,7 +756,7 @@ pub struct PanelSettingsContent { pub button: Option, /// Where to dock the panel. /// - /// Default: left + /// Default: right pub dock: Option, /// Default width of the panel in pixels. /// @@ -998,7 +998,7 @@ pub struct OutlinePanelSettingsContent { pub default_width: Option, /// The position of outline panel /// - /// Default: left + /// Default: right pub dock: Option, /// Whether to show file icons in the outline panel. /// diff --git a/crates/settings_content/src/workspace.rs b/crates/settings_content/src/workspace.rs index 19e08e19f3..7ff1f543c8 100644 --- a/crates/settings_content/src/workspace.rs +++ b/crates/settings_content/src/workspace.rs @@ -705,7 +705,7 @@ pub struct ProjectPanelSettingsContent { pub default_width: Option, /// The position of project panel /// - /// Default: left + /// Default: right pub dock: Option, /// Spacing between worktree entries in the project panel. ///