Skip to content

Browser commenting polish - #329072

Draft
kycutler wants to merge 1 commit into
mainfrom
kycutler/commentingpolish
Draft

Browser commenting polish#329072
kycutler wants to merge 1 commit into
mainfrom
kycutler/commentingpolish

Conversation

@kycutler

@kycutler kycutler commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Closes #328690
Closes #328795
Closes #328793
Closes #328792

Copilot AI balanced review requested due to automatic review settings August 5, 2026 00:16
@kycutler kycutler self-assigned this Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Polishes Integrated Browser element commenting interactions and screenshot capture.

Changes:

  • Refines comment pins, previews, animations, focus, and dismissal behavior.
  • Prevents comment-input keyboard events reaching the page.
  • Adds paint synchronization and smoke-test coverage.
Show a summary per file
File Description
preload-browserView.ts Reworks commenting UI and interactions.
browserEditorChatFeatures.ts Waits for repaint before element screenshots.
browserView.test.ts Tests keyboard-event isolation.

Review details

  • Files reviewed: 3/3 changed files
  • Comments generated: 3
  • Review effort level: Balanced

ref: new WeakRef(findCommonVisibleAncestor(els) ?? target),
anchor: { x: event.clientX, y: event.clientY }
};
if (event.button === 2) {
Comment thread src/vs/platform/browserView/electron-browser/preload-browserView.ts
Comment thread src/vs/platform/browserView/electron-browser/preload-browserView.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants