Skip to content

Commit 266c8ac

Browse files
Copilotalexr00
andauthored
Add "Assign to Coding Agent" context menu option for issues (#7705)
* Initial plan * Initial exploration and plan for Padawan context menu feature Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> * Add new context menu command to assign issues to coding agent * Add new context menu command to assign issues to coding agent Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> * Changes before error encountered Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> * cleanup --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 12746df commit 266c8ac

3 files changed

Lines changed: 1550 additions & 1485 deletions

File tree

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,6 +1666,13 @@
16661666
"category": "%command.issues.category%",
16671667
"icon": "$(sparkle)"
16681668
},
1669+
{
1670+
"command": "issue.assignToCodingAgent",
1671+
"title": "%command.issue.assignToCodingAgent.title%",
1672+
"category": "%command.issues.category%",
1673+
"icon": "$(send-to-remote-agent)",
1674+
"enablement": "config.githubPullRequests.codingAgent.enabled"
1675+
},
16691676
{
16701677
"command": "issues.configureIssuesViewlet",
16711678
"title": "%command.issues.configureIssuesViewlet.title%",
@@ -2353,6 +2360,10 @@
23532360
"command": "issue.openIssue",
23542361
"when": "false"
23552362
},
2363+
{
2364+
"command": "issue.assignToCodingAgent",
2365+
"when": "false"
2366+
},
23562367
{
23572368
"command": "issue.copyIssueNumber",
23582369
"when": "false"
@@ -2916,6 +2927,11 @@
29162927
"when": "view == issues:github && viewItem =~ /^(link)?(current|continue)?issue/ && github.copilot-chat.activated && config.githubPullRequests.experimental.chat",
29172928
"group": "issues_1@1"
29182929
},
2930+
{
2931+
"command": "issue.assignToCodingAgent",
2932+
"when": "view == issues:github && viewItem =~ /^(link)?(current|continue)?issue/ && config.githubPullRequests.codingAgent.enabled",
2933+
"group": "issues_1@2"
2934+
},
29192935
{
29202936
"command": "issue.copyIssueNumber",
29212937
"when": "view == issues:github && viewItem =~ /^(link)?(current|continue)?issue/",

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@
308308
"command.issues.configureIssuesViewlet.title": "Configure...",
309309
"command.issue.chatSummarizeIssue.title": "Summarize With Copilot",
310310
"command.issue.chatSuggestFix.title": "Suggest a Fix with Copilot",
311+
"command.issue.assignToCodingAgent.title": "Assign to Coding Agent",
311312
"command.notifications.category": "GitHub Notifications",
312313
"command.notifications.refresh.title": "Refresh",
313314
"command.notifications.pri.title": "Prioritize",

0 commit comments

Comments
 (0)