refactor(vscode): remove duplicate and unused UI code - #13536
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (16 files)
Reviewed by grok-4.6 · Input: 152.6K · Output: 17.2K · Cached: 756.9K Review guidance: REVIEW.md from base branch |
marius-kilocode
enabled auto-merge
August 28, 2026 09:37
WebReflection
approved these changes
Aug 28, 2026
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.
What Problem This Solves
An obsolete transcript renderer remained reachable through a Storybook story and source-level tests even though production chat already uses the row-based renderer. The worktree-create menus and review UI also repeated the same controls, labels, and message construction, leaving several copies to maintain.
Why This Change Was Made
Move the remaining story and source assertions to the live transcript renderer before removing the unused implementation. Share only the identical worktree-create control and review helpers rather than combining the full sidebar or review components.
The legacy Git guard, project-specific callbacks, review loading, caching, scrolling, composer state, and comment lifecycle remain unchanged. Existing tests are retained and redirected to the production renderer, with one focused test for the shared review labels.
User Impact
No intended behavior change and no feature removal. Worktree creation, review comments, document tabs, and chat checkpoints remain available.
The patch adds 125 lines and removes 411, for 286 net lines removed, including the test, story, and CI-generated baseline updates.
Evidence
bun run build:check: type checks, lint, and extension/webview bundles passed.bun run test:unit: 4,406 tests passed after merging current main.bunx playwright test tests/diff-scroll-preservation.spec.ts --workers 2: all 8 tests passed, including comment editing, context switching, scrolling, and cached reviews.bun run knip,bun run check-kilocode-change, andgit diff --checkpassed.Inline review editing after the shared-label extraction:
The shared worktree menu retains the base branch, quick-create shortcut, and section action: