Skip to content

fix(vscode): keep final patch file visible - #12839

Merged
marius-kilocode merged 2 commits into
mainfrom
fix-last-file-div-visibility
Aug 4, 2026
Merged

fix(vscode): keep final patch file visible#12839
marius-kilocode merged 2 commits into
mainfrom
fix-last-file-div-visibility

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

Expanding a completed multi-file patch could leave the final file with only its accordion header while its diff body remained unmounted. This made the patch appear incomplete until the final file was toggled manually.

The patch renderer now mounts each open file container immediately and leaves deferred diff rendering to the diff component. Search-forced files use the same open state, so every visible file follows one rendering path.

Before fix, the final file has only its header

After fix, all three file diffs are visible

@kilo-code-bot

kilo-code-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (4 files)
  • .changeset/last-file-patch.md
  • packages/kilo-ui/src/components/message-part.tsx
  • packages/kilo-vscode/webview-ui/src/stories/tool-call-lab.stories.tsx
  • packages/kilo-docs/public/img/screenshot-tests/kilo-vscode/visual-regression/labs-tool-call-lab/search-previews-chromium-linux.png

Reviewed by kimi-k3 · Input: 124.5K · Output: 11K · Cached: 932.8K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit 2bf4cb0 into main Aug 4, 2026
33 checks passed
@marius-kilocode
marius-kilocode deleted the fix-last-file-div-visibility branch August 4, 2026 08:29
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
…ibility

fix(vscode): keep final patch file visible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants