Skip to content

Commit

Permalink
Add commands to focus view and prep for release (#2487)
Browse files Browse the repository at this point in the history
* Add commands to focus view

* Bump version and update changelog
  • Loading branch information
alexweininger authored May 17, 2023
1 parent 0f73462 commit f4573a4
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 53 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 0.24.9 - 2023-05-17

### Added
* Add support for the upcoming Azure Resources Focus feature

## 0.24.8 - 2023-03-22

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

102 changes: 51 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-azureappservice",
"displayName": "Azure App Service",
"description": "%appService.description%",
"version": "0.24.8",
"version": "0.24.9",
"publisher": "ms-azuretools",
"icon": "resources/WebApp.png",
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
Expand Down Expand Up @@ -362,251 +362,251 @@
},
{
"command": "appService.OpenInPortal",
"when": "view == azureResourceGroups && viewItem =~ /(azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppSlot)/",
"group": "1_appServiceGeneralCommands@1"
},
{
"command": "appService.Browse",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "1_appServiceGeneralCommands@2"
},
{
"command": "appService.Deploy",
"when": "view == azureResourceGroups && viewItem =~ /azAppWebApp/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /azAppWebApp/",
"group": "2_appServiceDeployCommands@1"
},
{
"command": "appService.DeploySlot",
"when": "view == azureResourceGroups && viewItem =~ /azAppSlot/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /azAppSlot/",
"group": "2_appServiceDeployCommands@1"
},
{
"command": "appService.ConfigureDeploymentSource",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "2_appServiceDeployCommands@2"
},
{
"command": "appService.Start",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "3_appServiceControlCommands@1"
},
{
"command": "appService.Stop",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "3_appServiceControlCommands@2"
},
{
"command": "appService.Restart",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "3_appServiceControlCommands@3"
},
{
"command": "appService.SwapSlots",
"when": "view == azureResourceGroups && viewItem == azAppSlot",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == azAppSlot",
"group": "3_appServiceControlCommands@4"
},
{
"command": "appService.Delete",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "3_appServiceControlCommands@5"
},
{
"command": "appService.startStreamingLogs",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "4_appServiceDiagnosticsCommands@1"
},
{
"command": "appService.StopLogStream",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "4_appServiceDiagnosticsCommands@2"
},
{
"command": "appService.DeploymentScript",
"when": "view == azureResourceGroups && viewItem =~ /azAppWebApp/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /azAppWebApp/",
"group": "5_appServiceMiscCommands@1"
},
{
"command": "appService.ViewProperties",
"when": "view == azureResourceGroups && viewItem =~ /azAppSlot/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /azAppSlot/",
"group": "7_commonCommands@1"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem =~ /(azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppSlot)/",
"group": "7_commonCommands@2"
},
{
"command": "appService.StartRemoteDebug",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "5_appServiceRemoteCommands@1"
},
{
"command": "appService.StartSsh",
"when": "view == azureResourceGroups && viewItem =~ /(azAppWebApp|azAppSlot)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /(azAppWebApp|azAppSlot)/",
"group": "5_appServiceRemoteCommands@2"
},
{
"command": "appService.CreateSlot",
"when": "view == azureResourceGroups && viewItem == deploymentSlots",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == deploymentSlots",
"group": "1_deploymentSlotsGeneralCommands@1"
},
{
"command": "appService.OpenInPortal",
"when": "view == azureResourceGroups && viewItem == deploymentSlots",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == deploymentSlots",
"group": "1_deploymentSlotsGeneralCommands@2"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem == deploymentSlots",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == deploymentSlots",
"group": "2_deploymentSlotsGeneralCommands@1"
},
{
"command": "appService.EnableFileLogging",
"when": "view == azureResourceGroups && viewItem =~ /appService.*logFiles/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*logFiles/",
"group": "1_folderGeneralCommands@1"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem =~ /appService.*siteFiles/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*siteFiles/",
"group": "1_folderGeneralCommands@2"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem =~ /appService.*folder/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*folder/",
"group": "1_subFolderRefreshCommands@1"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem =~ /appService.*logFiles/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*logFiles/",
"group": "2_folderGeneralCommands@1"
},
{
"command": "appService.OpenInPortal",
"when": "view == azureResourceGroups && viewItem == webJobs",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == webJobs",
"group": "1_webJobsGeneralCommands@1"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem == webJobs",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == webJobs",
"group": "2_webJobsGeneralCommands@1"
},
{
"command": "appService.appSettings.Add",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettings/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettings/",
"group": "1_appSettingEnv@1"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettings/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettings/",
"group": "2_appSettingsGeneral@1"
},
{
"command": "appService.appSettings.Download",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettings/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettings/",
"group": "1_appSettingEnv@2"
},
{
"command": "appService.appSettings.Upload",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettings/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettings/",
"group": "1_appSettingEnv@3"
},
{
"command": "appService.appSettings.Edit",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"group": "1_appSettingItemEdit@1"
},
{
"command": "appService.appSettings.Rename",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"group": "1_appSettingItemEdit@2"
},
{
"command": "appService.appSettings.Delete",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"group": "1_appSettingItemEdit@3"
},
{
"command": "appService.appSettings.ToggleSlotSetting",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettingItem/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettingItem/",
"group": "1_appSettingItemEdit@4"
},
{
"command": "appService.toggleAppSettingVisibility",
"when": "view == azureResourceGroups && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*applicationSettingItem(|NoSlots)/",
"group": "inline"
},
{
"command": "appService.ScaleUp",
"when": "view == azureResourceGroups && viewItem == deploymentNASlots"
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == deploymentNASlots"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem == connections",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == connections",
"group": "1@1"
},
{
"command": "appService.AddAzureDatabasesConnection",
"when": "view == azureResourceGroups && viewItem == сosmosDBConnections",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == сosmosDBConnections",
"group": "1@1"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem == сosmosDBConnections",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == сosmosDBConnections",
"group": "2@2"
},
{
"command": "appService.RevealConnection",
"when": "view == azureResourceGroups && viewItem == cosmosDBConnection",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == cosmosDBConnection",
"group": "1@1"
},
{
"command": "appService.RevealConnectionInAppSettings",
"when": "view == azureResourceGroups && viewItem == cosmosDBConnection",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == cosmosDBConnection",
"group": "1@2"
},
{
"command": "appService.RemoveCosmosDBConnection",
"when": "view == azureResourceGroups && viewItem == cosmosDBConnection",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem == cosmosDBConnection",
"group": "2@1"
},
{
"command": "appService.OpenInPortal",
"when": "view == azureResourceGroups && viewItem =~ /appService.*(deployments(C|Unc)onnected)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*(deployments(C|Unc)onnected)/",
"group": "1@1"
},
{
"command": "appService.ConfigureDeploymentSource",
"when": "view == azureResourceGroups && viewItem =~ /appService.*(deployments(C|Unc)onnected)/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*(deployments(C|Unc)onnected)/",
"group": "1@2"
},
{
"command": "appService.DisconnectRepo",
"when": "view == azureResourceGroups && viewItem =~ /appService.*deploymentsConnected/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*deploymentsConnected/",
"group": "1@3"
},
{
"command": "appService.Refresh",
"when": "view == azureResourceGroups && viewItem =~ /appService.*deployments(C|Unc)onnected/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*deployments(C|Unc)onnected/",
"group": "2@1"
},
{
"command": "appService.viewDeploymentLogs",
"when": "view == azureResourceGroups && viewItem =~ /appService.*deployment\\//",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*deployment\\//",
"group": "1@1"
},
{
"command": "appService.Redeploy",
"when": "view == azureResourceGroups && viewItem =~ /appService.*deployment\\//",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*deployment\\//",
"group": "1@2"
},
{
"command": "appService.ViewCommitInGitHub",
"when": "view == azureResourceGroups && viewItem =~ /appService.*deployment\\/github/",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*deployment\\/github/",
"group": "1@3"
},
{
"command": "appService.OpenInPortal",
"when": "view == azureResourceGroups && viewItem =~ /appService.*deployment\\//",
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /appService.*deployment\\//",
"group": "1@4"
}
],
Expand Down

0 comments on commit f4573a4

Please sign in to comment.