Skip to content

Add comment draft color to overview ruler#276972

Merged
alexr00 merged 1 commit intomainfrom
alexr00/evident-mouse
Nov 12, 2025
Merged

Add comment draft color to overview ruler#276972
alexr00 merged 1 commit intomainfrom
alexr00/evident-mouse

Conversation

@alexr00
Copy link
Member

@alexr00 alexr00 commented Nov 12, 2025

Copilot AI review requested due to automatic review settings November 12, 2025 18:24
@alexr00 alexr00 enabled auto-merge (squash) November 12, 2025 18:24
@alexr00 alexr00 self-assigned this Nov 12, 2025
@vs-code-engineering vs-code-engineering bot added this to the November 2025 milestone Nov 12, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new color theme token for comment threads with draft comments in the overview ruler, providing better visual distinction for drafts.

  • Introduces editorOverviewRuler.commentDraftForeground color token
  • Updates the overview ruler color logic to prioritize draft status over resolved/unresolved states
  • Registers the new CSS variable in the stylelint configuration

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/comments/browser/commentGlyphWidget.ts Registers new overviewRulerCommentDraftForeground color and updates decoration logic to use draft color when _threadHasDraft is true
build/lib/stylelint/vscode-known-variables.json Adds --vscode-editorOverviewRuler-commentDraftForeground CSS variable to the known variables list

@alexr00 alexr00 merged commit 89b8b71 into main Nov 12, 2025
33 of 34 checks passed
@alexr00 alexr00 deleted the alexr00/evident-mouse branch November 12, 2025 18:43
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants