Skip to content

fix(vscode): keep deleted diff line numbers neutral - #13880

Merged
marius-kilocode merged 1 commit into
mainfrom
fix-deleted-code-line-coloring
Sep 7, 2026
Merged

marius-kilocode merged 1 commit into
mainfrom
fix-deleted-code-line-coloring

Conversation

@marius-kilocode

@marius-kilocode marius-kilocode commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Deleted lines in Pierre diffs color gutter line numbers red, making the line numbers look like changed content.

Why This Change Was Made

Pierre assigns the deletion foreground to changed line-number cells. The diff now inherits the normal gutter color for those cells while keeping deleted-line backgrounds and indicators unchanged.

User Impact

Deleted code remains visibly highlighted, but its line numbers no longer use the deletion color.

Evidence

Before:

Deleted diff with red line numbers

After:

Deleted diff with neutral line numbers

Validation

  • bun test src/pierre/index.test.ts
  • bun run test:visual -- tests/diff-indicators.spec.ts
  • bunx prettier --check src/pierre/index.ts tests/diff-indicators.spec.ts
  • git diff --check

@kilo-code-bot

kilo-code-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • packages/kilo-ui/src/pierre/index.ts
  • packages/kilo-ui/tests/diff-indicators.spec.ts

Reviewed by grok-4.6 · Input: 48.1K · Output: 7.8K · Cached: 394.4K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit ca1d7d4 into main Sep 7, 2026
32 checks passed
@marius-kilocode
marius-kilocode deleted the fix-deleted-code-line-coloring branch September 7, 2026 15:02
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