diff --git a/package.json b/package.json index 760266fd..24cc5260 100644 --- a/package.json +++ b/package.json @@ -326,6 +326,11 @@ "category": "Copilot In Power Pages", "title": "Clear Conversation", "icon": "$(clear-all)" + }, + { + "command": "powerpages.copilot.explain", + "category": "Copilot In Power Pages", + "title": "Explain" } ], "configuration": { @@ -559,6 +564,19 @@ } ], "menus": { + "editor/context": [ + { + "submenu": "microsoft-powerapps-portals.powerpages-copilot", + "group": "0_powerpages-copilot", + "when": "never" + } + ], + "microsoft-powerapps-portals.powerpages-copilot": [ + { + "command": "powerpages.copilot.explain", + "group": "0_powerpages-copilot@1" + } + ], "explorer/context": [ { "submenu": "microsoft-powerapps-portals.powerpages", @@ -713,6 +731,10 @@ "command": "powerpages.copilot.clearConversation", "when": "never" }, + { + "command": "powerpages.copilot.explain", + "when": "never" + }, { "command": "microsoft-powerapps-portals.webpage", "when": "config.powerPlatform.generatorInstalled" @@ -826,6 +848,10 @@ { "id": "microsoft-powerapps-portals.powerpages", "label": "Power Pages" + }, + { + "id": "microsoft-powerapps-portals.powerpages-copilot", + "label": "Copilot In Power Pages" } ], "viewsContainers": {