Disable Arc PG Manage action and clean up commands (#11942)

This commit is contained in:
Charles Gagnon
2020-08-24 18:05:15 -07:00
committed by GitHub
parent 18a6879d64
commit bd2ab6071d
2 changed files with 5 additions and 33 deletions

View File

@@ -12,9 +12,8 @@
"azdata": ">=1.21.0"
},
"activationEvents": [
"onCommand:arc.manageArcController",
"onCommand:arc.manageMiaa",
"onCommand:arc.managePostgres",
"onCommand:arc.connectToController",
"onCommand:arc.createController",
"onView:azureArc"
],
"extensionDependencies": [
@@ -36,18 +35,6 @@
]
},
"commands": [
{
"command": "arc.manageArcController",
"title": "%arc.manageArcController%"
},
{
"command": "arc.manageMiaa",
"title": "%arc.manageMiaa%"
},
{
"command": "arc.managePostgres",
"title": "%arc.managePostgres%"
},
{
"command": "arc.openDashboard",
"title": "%arc.openDashboard%"
@@ -73,18 +60,6 @@
],
"menus": {
"commandPalette": [
{
"command": "arc.manageArcController",
"when": "false"
},
{
"command": "arc.manageMiaa",
"when": "false"
},
{
"command": "arc.managePostgres",
"when": "false"
},
{
"command": "arc.openDashboard",
"when": "false"
@@ -113,7 +88,7 @@
"view/item/context": [
{
"command": "arc.openDashboard",
"when": "view == azureArc && viewItem != loading",
"when": "view == azureArc && viewItem != postgresInstances",
"group": "navigation@1"
},
{

View File

@@ -2,14 +2,11 @@
"arc.displayName": "Azure Arc",
"arc.description": "Support for Azure Arc",
"arc.configuration.title": "Azure Arc",
"arc.manageMiaa": "Manage MIAA",
"arc.managePostgres": "Manage Postgres",
"arc.manageArcController": "Manage Arc Controller",
"arc.view.title" : "Azure Arc Controllers",
"arc.view.welcome.connect" : "No Azure Arc controllers registered. [Learn More](https://azure.microsoft.com/services/azure-arc/)\n[Connect Controller](command:arc.connectToController)",
"arc.view.welcome.loading" : "Loading controllers...",
"command.createController.title" : "Create New Controller",
"command.connectToController.title": "Connect to Existing Controller",
"command.createController.title" : "Create New Azure Arc Controller",
"command.connectToController.title": "Connect to Existing Azure Arc Controller",
"command.removeController.title": "Remove Controller",
"command.refresh.title": "Refresh",
"arc.openDashboard": "Manage",