microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
52 stars 28 forks source link

The focused resource group doesn't auto disappear from the FOCUSED RESOURCES view after deleting it #715

Open v-chenzha opened 1 year ago

v-chenzha commented 1 year ago

OS: Win10 Build Version: 20230613.12 Regression: Not a Regression

Repro Steps:

  1. Make sure the resource groups by Resource Group.
  2. Click "Focus Group" icon to focus a resource group.
  3. Delete the resource group.
  4. Check whether the focused resource group auto disappears from the FOCUSED RESOURCES view.

Expect: The focused resource group auto disappears from the FOCUSED RESOURCES view.

Actual: The focused resource group doesn't auto disappear from the FOCUSED RESOURCES view.

nturinski commented 1 year ago

We would have to set up some sort of event handler to alert the Focused Resources view to refresh whenever a change is made to the focused resource to do this.