Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 10, 2025

Summary

Added "Open" button to issue/PR and notification thread summaries in panel-chat and quick-chat.

Changes Made

  • Add "Open" button to notification summary tool (summarizeNotificationsTool.ts)
  • Add "Open" button to issue/PR summary tool (summarizeIssueTool.ts)
  • Add issueNumber and itemType fields to FetchIssueResult (fetchIssueTool.ts)
  • Run linters and ensure code quality
  • Request code review (1 false positive comment addressed)
  • Run security checks (CodeQL - no alerts)

Implementation Details

The "Open" button:

  • Opens the issue/PR/notification in the user's default browser
  • Uses the vscode.open command with a properly formatted GitHub URL
  • Appears alongside "Mark as Read" and "Mark as Done" buttons for notifications
  • Follows the same pattern as existing command buttons using TOOL_COMMAND_RESULT
  • Only appears when all necessary information (owner, repo, issue number, item type) is available

All automated checks passed successfully.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add button to open the issue or PR or thread from a summary in panel-chat or quick-chat</issue_title>
<issue_description>Currently after summarizing an issue/PR/notification thread, we add a button that says Mark as Read at the end. It would be nice to have another button to open the issue/PR/notification thread after having read the summary. I imagine there may be people who may want to see the original.

cc @alexr00 @lszomoru </issue_description>

Comments on the Issue (you are @copilot in this section)

@lszomoru Absolutely. We have have "Mark as Read", "Mark as Done", and "Open" actions.

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

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.

Add button to open the issue or PR or thread from a summary in panel-chat or quick-chat

2 participants