Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 10, 2025

When using the #activePullRequest variable in chat, the PR card that appears in the chat panel displays only the title and author, making it difficult to confirm which PR is being referenced. This is especially confusing when multiple PRs are open, as users need to cross-reference with the status bar to verify the correct PR number.

Before:

[WIP] Expanding Jupyter Notebook with Additional Cells - bamurtaugh

After:

#71 [WIP] Expanding Jupyter Notebook with Additional Cells - bamurtaugh

This change prepends the linkTag property (which contains the PR number like "#71") to the existing title format in the chat PR card. The linkTag data was already available in the IChatPullRequestContent interface but wasn't being displayed.

Benefits:

  • Users can instantly verify they're looking at the correct PR without checking the status bar
  • Reduces confusion when working with multiple open PRs
  • Maintains consistency with how PR numbers are displayed elsewhere in VS Code
  • Minimal change with no breaking functionality

The implementation modifies a single line in ChatPullRequestContentPart to include the PR number in the card title display.

Fixes #266052.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • electronjs.org
    • Triggering command: node-gyp (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] Want PR number in PR card in chat panel Add PR number to chat panel PR card title for easier identification Sep 10, 2025
@Copilot Copilot AI requested a review from alexr00 September 10, 2025 15:19
Copilot finished work on behalf of alexr00 September 10, 2025 15:19
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.

Want PR number in PR card in chat panel
2 participants