Skip to content

fix(vscode): stabilize expanded edit blocks - #11302

Merged
marius-kilocode merged 2 commits into
mainfrom
fix/vscode-code-edit-block-flicker
Jun 16, 2026
Merged

fix(vscode): stabilize expanded edit blocks#11302
marius-kilocode merged 2 commits into
mainfrom
fix/vscode-code-edit-block-flicker

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

#11080 introduced configurable default expansion for code edit blocks, but the expanded content could briefly disappear when an edit completed. The live transcript row changed ownership and was recreated as its status transitioned, which reset the rendered diff before it appeared normally again.

Keep the completed assistant turn directly rendered until the next turn takes ownership, and key live rows by their stable row IDs so metadata updates do not recreate the tool DOM. This preserves the expanded diff through edit completion.

The display-setting strings added by #11080 are also now translated in every supported non-English locale instead of falling back to English.

Follow-up to #11080.

Comment thread .changeset/steady-code-edit-blocks.md Outdated
@kilo-code-bot

kilo-code-bot Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (22 files)
  • packages/kilo-vscode/webview-ui/src/context/transcript-rows.ts — Added TranscriptHold interface and retainTurn function
  • packages/kilo-vscode/webview-ui/src/components/chat/MessageList.tsx — Key-based direct row rendering to prevent DOM recreation
  • packages/kilo-vscode/tests/unit/transcript-rows.test.ts — Tests for retainTurn
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts — Arabic translations
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts — Breton translations
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts — Bosnian translations
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts — Danish translations
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts — German translations
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts — Spanish translations
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts — French translations
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts — Italian translations
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts — Japanese translations
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts — Korean translations
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts — Dutch translations
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts — Norwegian translations
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts — Polish translations
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts — Russian translations
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts — Thai translations
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts — Turkish translations
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts — Ukrainian translations
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts — Chinese (Simplified) translations
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts — Chinese (Traditional) translations

Reviewed by deepseek-v4-pro-20260423 · 279,521 tokens

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit 2f8f652 into main Jun 16, 2026
20 checks passed
@marius-kilocode
marius-kilocode deleted the fix/vscode-code-edit-block-flicker branch June 16, 2026 12:21
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
…block-flicker

fix(vscode): stabilize expanded edit blocks
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