Skip to content

Don't use uri params for comments document#8860

Merged
alexr00 merged 1 commit into
mainfrom
alexr00/fundamental-clam
Jul 24, 2026
Merged

Don't use uri params for comments document#8860
alexr00 merged 1 commit into
mainfrom
alexr00/fundamental-clam

Conversation

@alexr00

@alexr00 alexr00 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings July 24, 2026 07:43
@alexr00
alexr00 enabled auto-merge (squash) July 24, 2026 07:43
@alexr00 alexr00 self-assigned this Jul 24, 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

Updates comment-document detection to avoid relying on URI query parameters, aligning with VS Code’s comment document URI structure (scheme/authority) and enabling user mention completion to work without parsing query JSON.

Changes:

  • Exposes ReviewCommentController.PREFIX for reuse outside the controller.
  • Switches comment-document filtering in UserCompletionProvider from uri.query parsing to uri.authority prefix checks for PR/review comment controllers.
Show a summary per file
File Description
src/view/reviewCommentController.ts Makes the review comment controller prefix accessible for identifying review comment documents.
src/issues/userCompletionProvider.ts Replaces query-based comment-document validation with authority-prefix checks using controller IDs.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment thread src/issues/userCompletionProvider.ts
@alexr00
alexr00 merged commit b062a54 into main Jul 24, 2026
8 checks passed
@alexr00
alexr00 deleted the alexr00/fundamental-clam branch July 24, 2026 07:48
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.

3 participants