feat(vscode): persist model selector expand/collapse state - #11824
Merged
Conversation
Save the model picker's preview-panel expand/collapse preference via the VS Code webview state API so it survives reload, hide/show, and restart.
johnnyeric
marked this pull request as ready for review
June 30, 2026 09:15
johnnyeric
marked this pull request as draft
June 30, 2026 09:16
johnnyeric
marked this pull request as ready for review
June 30, 2026 09:16
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
Previous Review Summary (commit c5aec20)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit c5aec20)Status: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
Reviewed by gpt-5.4-20260305 · Input: 47.1K · Output: 6.4K · Cached: 232.2K Review guidance: REVIEW.md from base branch |
marius-kilocode
approved these changes
Jun 30, 2026
5 tasks
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
…11824) * feat(vscode): persist model selector expand/collapse state Save the model picker's preview-panel expand/collapse preference via the VS Code webview state API so it survives reload, hide/show, and restart. * chore(vscode): add model picker changeset * fix(vscode): address model selector review feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
The model picker preview panel expand/collapse state reset when the VS Code webview reloaded, hid/shown, or restarted. Persisting this preference keeps the picker in the user's chosen layout.
Implementation
Save the preview-panel expand/collapse preference through the VS Code webview state API and restore it when the model picker initializes.
Screenshots / Video
N/A. Behavior-only persistence change; no visual layout change.
How to Test
Manual/local verification
bun turbo typecheckvia the pre-push hook.Reviewer test steps
Checklist