Skip to content

Commit

Permalink
Added copilot to editor context menu (#724)
Browse files Browse the repository at this point in the history
Co-authored-by: amitjoshi <[email protected]>
  • Loading branch information
amitjoshi438 and amitjoshi authored Sep 27, 2023
1 parent 349a78d commit 8bb5a03
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -826,6 +848,10 @@
{
"id": "microsoft-powerapps-portals.powerpages",
"label": "Power Pages"
},
{
"id": "microsoft-powerapps-portals.powerpages-copilot",
"label": "Copilot In Power Pages"
}
],
"viewsContainers": {
Expand Down

0 comments on commit 8bb5a03

Please sign in to comment.