|
| 1 | +# Documentation Suggestions for v0.224 |
| 2 | + |
| 3 | +This document shows what documentation suggestions would have been batched |
| 4 | +for the v0.224 release (Feb 12, 2026). |
| 5 | + |
| 6 | +**PRs analyzed**: 6 user-facing PRs from Feb 5-12, 2026 |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +## PR #48118 |
| 11 | + |
| 12 | +## No Documentation Updates Needed |
| 13 | + |
| 14 | +**Reason**: Internal implementation improvement for Flatpak environment variable handling |
| 15 | + |
| 16 | +**Changes reviewed**: |
| 17 | + |
| 18 | +- The diff adds code to preserve `ZED_*` environment variables when the Zed CLI restarts from within a Flatpak container to the host system |
| 19 | +- This is an internal bug fix that ensures environment variables are properly propagated across the Flatpak boundary |
| 20 | +- No user-facing features, settings, or commands are added or changed |
| 21 | +- Users don't interact with this restart mechanism directly - it's an implementation detail of how the Flatpak version handles certain operations |
| 22 | +- The change makes existing functionality work correctly in edge cases rather than introducing new behavior that needs documentation |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## PR #48467 |
| 27 | + |
| 28 | +````markdown |
| 29 | +## Documentation Suggestions |
| 30 | + |
| 31 | +### Summary |
| 32 | + |
| 33 | +Auto-update notifications have been moved from the activity indicator to the title bar, with a new visual design including multiple progress states, dismiss functionality, and integration with the user menu. |
| 34 | + |
| 35 | +### Suggested Changes |
| 36 | + |
| 37 | +#### 1. docs/src/update.md |
| 38 | + |
| 39 | +- **Section**: New section after "Auto-updates" |
| 40 | +- **Change**: Add |
| 41 | +- **Suggestion**: Add a new section describing the update notification UI: |
| 42 | + |
| 43 | +```markdown |
| 44 | +## Update notifications {#update-notifications} |
| 45 | + |
| 46 | +> **Note:** In Zed v0.224.0 and above, update notifications appear in the title bar as described below. |
| 47 | +
|
| 48 | +When an update is available, Zed displays a notification in the title bar showing the update progress: |
| 49 | + |
| 50 | +- **Checking for updates**: Shows when manually checking for updates |
| 51 | +- **Downloading**: Appears while the update downloads in the background |
| 52 | +- **Installing**: Shows briefly during installation |
| 53 | +- **Ready to update**: When an update is ready, click the notification to restart Zed and apply the update |
| 54 | + |
| 55 | +You can dismiss the update notification by clicking the X button. When dismissed, a badge appears on your user avatar, and "Restart to update Zed" appears at the top of the user menu. |
| 56 | + |
| 57 | +If an update fails, an error notification appears. Click it to view the error log. |
| 58 | +``` |
| 59 | +```` |
| 60 | + |
| 61 | +#### 2. docs/src/update.md |
| 62 | + |
| 63 | +- **Section**: "How to check your current version" |
| 64 | +- **Change**: Update |
| 65 | +- **Suggestion**: Add an alternative method mentioning the user menu (since version info is typically there in apps), or clarify that `zed: about` is the primary method. Consider adding that update status appears in the title bar when available. |
| 66 | + |
| 67 | +### Notes for Reviewer |
| 68 | + |
| 69 | +- The existing documentation doesn't describe where/how update notifications appear, so this fills that gap |
| 70 | +- No screenshots currently exist in update.md, but screenshots showing the new title bar button states would enhance the documentation |
| 71 | +- The `SimulateUpdateAvailable` action is a debug feature and doesn't need documentation |
| 72 | +- The core auto-update behavior (automatic checking/downloading) hasn't changed, only the UI presentation |
| 73 | + |
| 74 | +```` |
| 75 | +
|
| 76 | +--- |
| 77 | +
|
| 78 | +## PR #48553 |
| 79 | +
|
| 80 | +## Documentation Suggestions |
| 81 | +
|
| 82 | +### Summary |
| 83 | +The permission system has been refactored from a simple `always_allow_tool_actions` boolean to a granular `tool_permissions` structure with a global `default` setting and per-tool configuration. The documentation files already use version-specific notes correctly ("In Zed v0.224.0 and above"). |
| 84 | +
|
| 85 | +### Suggested Changes |
| 86 | +
|
| 87 | +No changes needed - the documentation already follows the correct pattern with version-specific callouts. |
| 88 | +
|
| 89 | +### Notes for Reviewer |
| 90 | +
|
| 91 | +The documentation is comprehensive and accurate. It correctly documents: |
| 92 | +
|
| 93 | +- The new permission precedence order |
| 94 | +- Pattern-based rules for all supported tools |
| 95 | +- MCP tool permission configuration |
| 96 | +- Migration path from the old `always_allow_tool_actions` setting |
| 97 | +- Built-in security rules that cannot be overridden |
| 98 | +- Version-specific notes indicating when the feature was introduced |
| 99 | +
|
| 100 | +--- |
| 101 | +
|
| 102 | +## PR #48592 |
| 103 | +
|
| 104 | +## Documentation Suggestions |
| 105 | +
|
| 106 | +### Summary |
| 107 | +
|
| 108 | +The `:bd` and `:bdelete` vim commands now close the active item across all panes instead of just the current pane. This is a new behavior change that requires documentation for vim mode users. |
| 109 | +
|
| 110 | +### Suggested Changes |
| 111 | +
|
| 112 | +#### 1. docs/src/vim.md |
| 113 | +
|
| 114 | +- **Section**: File and window management (under Command palette section) |
| 115 | +- **Change**: Add |
| 116 | +- **Suggestion**: Add the following two rows to the "File and window management" table after the existing commands: |
| 117 | +
|
| 118 | +```markdown |
| 119 | +| `:bd[elete]` | Close the active item across all panes | |
| 120 | +| `:bd[elete]!` | Close the active item across all panes (including pinned) | |
| 121 | +``` |
| 122 | +
|
| 123 | +Additionally, add an explanatory note after the table to clarify the behavior with version context: |
| 124 | +
|
| 125 | +```markdown |
| 126 | +> **Note:** The `:bd[elete]` command (available in Zed v0.224.0 and above) closes the active item in all panes where it appears. If a file is open in multiple panes, all instances will be closed. Use `:bd[elete]!` to also close pinned items. |
| 127 | +``` |
| 128 | +
|
| 129 | +### Notes for Reviewer |
| 130 | +
|
| 131 | +- The `:bd`/`:bdelete` command is a common vim command for "buffer delete" |
| 132 | +- The new behavior differs from vanilla vim - in vim, `:bd` closes the buffer globally, but in Zed it closes the item across all panes |
| 133 | +- The `!` modifier enables closing pinned items, which maps to the `close_pinned: true` parameter in the action |
| 134 | +- This might be surprising to vim users who expect different behavior, so clear documentation is important |
| 135 | +
|
| 136 | +--- |
| 137 | +
|
| 138 | +## PR #48814 |
| 139 | +
|
| 140 | +## Documentation Updates Needed |
| 141 | +
|
| 142 | +### Summary |
| 143 | +
|
| 144 | +This change adds support for `.devcontainer.json` at the project root as an alternative to `.devcontainer/devcontainer.json`. Users can now place their devcontainer configuration in either location, expanding compatibility with projects that use the root-level pattern. |
| 145 | +
|
| 146 | +### Suggested Changes |
| 147 | +
|
| 148 | +#### 1. docs/src/dev-containers.md |
| 149 | +
|
| 150 | +- **Section**: Configuration file locations (or create new section if doesn't exist) |
| 151 | +- **Change**: Update/Add |
| 152 | +- **Suggestion**: Update any section that lists where devcontainer configuration files can be placed to include: |
| 153 | +
|
| 154 | +```markdown |
| 155 | +## Configuration File Locations {#config-locations} |
| 156 | +
|
| 157 | +> **Note:** In Zed v0.224.0 and above, `.devcontainer.json` at the project root is supported in addition to the locations below. |
| 158 | +
|
| 159 | +Zed supports dev container configurations in the following locations: |
| 160 | +
|
| 161 | +1. `.devcontainer.json` in your project root |
| 162 | +2. `.devcontainer/devcontainer.json` (the standard location) |
| 163 | +3. `.devcontainer/<subfolder>/devcontainer.json` (for named configurations) |
| 164 | +
|
| 165 | +When multiple configurations are present, Zed will prompt you to choose which one to use. |
| 166 | +``` |
| 167 | +
|
| 168 | +#### 2. docs/src/dev-containers.md |
| 169 | +
|
| 170 | +- **Section**: Getting started or Setup section |
| 171 | +- **Change**: Update |
| 172 | +- **Suggestion**: If there are any examples showing only `.devcontainer/devcontainer.json`, consider adding a note that `.devcontainer.json` at the root is also supported, for simpler single-configuration setups. |
| 173 | +
|
| 174 | +### Notes for Reviewer |
| 175 | +
|
| 176 | +- The core functionality of devcontainers likely already has documentation; this change only expands the supported file locations |
| 177 | +- The version-specific note should only apply to the new `.devcontainer.json` root location support, not to existing `.devcontainer/` directory support |
| 178 | +- The change improves compatibility with the devcontainer spec, which officially supports both locations |
| 179 | +
|
| 180 | +--- |
| 181 | +
|
| 182 | +## PR #48912 |
| 183 | +
|
| 184 | +## Documentation Suggestions |
| 185 | +
|
| 186 | +### Summary |
| 187 | +
|
| 188 | +The split diff view feature has been promoted from feature flag to general availability, with the default `diff_view_style` changed from "unified" to "split". This affects how users see diffs in the editor when viewing file changes. |
| 189 | +
|
| 190 | +### Suggested Changes |
| 191 | +
|
| 192 | +#### 1. docs/src/editor.md (or docs/src/editor/settings.md if it exists) |
| 193 | +
|
| 194 | +- **Section**: New section under editor settings |
| 195 | +- **Change**: Add |
| 196 | +- **Suggestion**: |
| 197 | +
|
| 198 | +````markdown |
| 199 | +### Diff View Style {#diff-view-style} |
| 200 | +
|
| 201 | +> **Note:** In Zed v0.224.0 and above, split view is the default. Prior versions used unified view. |
| 202 | +
|
| 203 | +When viewing diffs in the editor (such as Git changes), you can choose between two display styles: |
| 204 | +
|
| 205 | +- **Split** (default): Shows the original and modified versions side-by-side in separate panes |
| 206 | +- **Unified**: Shows changes inline with additions and deletions in a single view |
| 207 | +
|
| 208 | +To change the diff view style, open Settings ({#kb zed::OpenSettings}) and search for "Diff View Style", or add to your settings file: |
| 209 | +
|
| 210 | +```json [settings] |
| 211 | +{ |
| 212 | + "diff_view_style": "unified" |
| 213 | +} |
| 214 | +``` |
| 215 | +```` |
| 216 | + |
| 217 | +You can toggle between split and unified views while viewing a diff using {#kb editor::ToggleSplitDiff}. |
| 218 | + |
| 219 | +``` |
| 220 | +
|
| 221 | +#### 2. docs/src/version-control.md (if it exists, or relevant Git documentation page) |
| 222 | +- **Section**: Viewing changes or Git diff section |
| 223 | +- **Change**: Add/Update |
| 224 | +- **Suggestion**: Add a note about the diff view style setting, cross-referencing the editor settings documentation. If there's existing content about viewing diffs, update it to mention that split view is now the default and how to toggle between views. |
| 225 | +
|
| 226 | +### Notes for Reviewer |
| 227 | +- The default has changed from "unified" to "split" - this is a behavioral change users will notice immediately |
| 228 | +- The feature was previously behind a staff-only feature flag, so this is effectively a new feature for most users |
| 229 | +- I assumed the setting applies to Git diffs and similar diff views, but the specific use cases should be verified |
| 230 | +- The keybinding `editor::ToggleSplitDiff` exists for toggling between views - verify this is the correct action name and that it works with both view styles |
| 231 | +
|
| 232 | +--- |
| 233 | +``` |
0 commit comments