microsoft / microsoft/vscode-azureresourcegroups

"Select Subscriptions..." shows in Azure Resources view if adding an empty item in "Azure Resource Groups: Selected Subscriptions" setting

Open
#939 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI
Dominant language
TypeScript
Stars
78
Forks
55
Avg merge
16h 49m
Merged PRs (30d)
139

Description

OS: All
Build Version: 0.9.7
Regression: Not a regression

Repro Steps:

  1. Sign in with Azure account.
  2. Reset user setting "Azure Resource Groups: Selected Subscriptions".
    Image
  3. Refresh the Azure Resources view and all subscriptions show in Azure Resources view.
  4. Add an invalid item in "Azure Resource Groups: Selected Subscriptions" setting, such as an empty item.
    Image
  5. Refresh the Azure Resources view.
  6. Check whether all subscriptions show in Azure Resources view.

Expect:
All subscriptions show in Azure Resources view.

Actual:
"Select Subscriptions..." shows in Azure Resources view.
Image

More Info:
If both valid items and invalid items show in "Azure Resource Groups: Selected Subscriptions" setting, refresh the Azure Resources view, the corresponding subscriptions which added by valid items will show in Azure Resources view.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the TypeScript implementation of the Azure Resources view and the handling of the “Azure Resource Groups: Selected Subscriptions” setting. Reproduce the empty-item case using the listed steps, then trace how invalid subscription entries are converted into view items. Done means an empty or invalid entry no longer produces “Select Subscriptions...” while valid subscriptions continue to appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.