|
2851 | 2851 | "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR", |
2852 | 2852 | "title": "%github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR%", |
2853 | 2853 | "enablement": "!chatSessionRequestInProgress", |
2854 | | - "icon": "$(git-pull-request)", |
| 2854 | + "icon": "$(sync)", |
2855 | 2855 | "category": "GitHub Copilot" |
2856 | 2856 | }, |
2857 | 2857 | { |
|
4867 | 4867 | }, |
4868 | 4868 | { |
4869 | 4869 | "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" |
4872 | 4872 | } |
4873 | 4873 | ], |
4874 | 4874 | "chat/input/editing/sessionApplyActions": [ |
|
4879 | 4879 | }, |
4880 | 4880 | { |
4881 | 4881 | "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", |
4883 | 4883 | "group": "merge@1" |
4884 | 4884 | }, |
4885 | 4885 | { |
4886 | 4886 | "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", |
4888 | 4888 | "group": "merge@2" |
4889 | 4889 | }, |
4890 | 4890 | { |
4891 | 4891 | "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", |
4893 | 4893 | "group": "pull_request@1" |
4894 | 4894 | }, |
4895 | 4895 | { |
4896 | 4896 | "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", |
4898 | 4898 | "group": "pull_request@2" |
4899 | 4899 | }, |
4900 | 4900 | { |
4901 | 4901 | "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", |
4903 | 4903 | "group": "pull_request@1" |
4904 | 4904 | } |
4905 | 4905 | ], |
|
0 commit comments