fix(vscode): sync Agent Manager inspector width - #12858
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Incremental review of commits since Files Reviewed (3 files)
Previous Review Summary (commit e227378)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit e227378)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (5 files)
The width unification itself is clean: removed identifiers have no leftover references, the persisted value is clamped against the current viewport on restore, persistence is debounced and cleaned up, and the changeset is present with user-facing wording. No memory-leak surface introduced. Reviewed by kimi-k3 · Input: 32.6K · Output: 6K · Cached: 200.5K Review guidance: REVIEW.md from base branch |
…ewer-dimensions fix(vscode): sync Agent Manager inspector width
The Agent Manager terminal and diff viewer currently maintain separate inspector widths, so switching between them moves the divider and produces inconsistent layouts. The divider position is also lost when the webview is recreated.
This change gives both views one shared inspector width, restores it from webview state, and constrains the saved value to the available viewport. Resizing either view now keeps the same position for the other view and across panel reloads. The shared minimum stays 360px on normal layouts; on narrow viewports the effective bounds scale down so the inspector cannot consume the entire editor.