Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit a0c6c0b

Browse files
authored
Sessions - adopt new context key, update action icon (#4803)
1 parent 8618432 commit a0c6c0b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,7 +2851,7 @@
28512851
"command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR",
28522852
"title": "%github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR%",
28532853
"enablement": "!chatSessionRequestInProgress",
2854-
"icon": "$(git-pull-request)",
2854+
"icon": "$(sync)",
28552855
"category": "GitHub Copilot"
28562856
},
28572857
{
@@ -4867,8 +4867,8 @@
48674867
},
48684868
{
48694869
"command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
4870-
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasOpenPullRequest",
4871-
"group": "navigation@1"
4870+
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasPullRequest",
4871+
"group": "navigation@9"
48724872
}
48734873
],
48744874
"chat/input/editing/sessionApplyActions": [
@@ -4879,27 +4879,27 @@
48794879
},
48804880
{
48814881
"command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
4882-
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.isMergeBaseBranchProtected && !sessions.hasOpenPullRequest",
4882+
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest",
48834883
"group": "merge@1"
48844884
},
48854885
{
48864886
"command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
4887-
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.isMergeBaseBranchProtected && !sessions.hasOpenPullRequest",
4887+
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest",
48884888
"group": "merge@2"
48894889
},
48904890
{
48914891
"command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
4892-
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.hasOpenPullRequest",
4892+
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.hasPullRequest",
48934893
"group": "pull_request@1"
48944894
},
48954895
{
48964896
"command": "github.copilot.chat.createDraftPullRequestCopilotCLIAgentSession.createDraftPR",
4897-
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.hasOpenPullRequest",
4897+
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.hasPullRequest",
48984898
"group": "pull_request@2"
48994899
},
49004900
{
49014901
"command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR",
4902-
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasOpenPullRequest",
4902+
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasPullRequest && sessions.hasOpenPullRequest",
49034903
"group": "pull_request@1"
49044904
}
49054905
],

0 commit comments

Comments
 (0)