microsoft / vscode-azureresourcegroups

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

Show workspace resources even if workspace isn't open #583

Closed alexweininger closed 1 year ago

alexweininger commented 1 year ago

Instead of not displaying resources if no workspace is opened, show resources and also add a tree item that prompts users to open a folder/workspace.

image

This more closely mirrors the current behavior, and fixes https://github.com/microsoft/vscode-azurestorage/issues/1214

nturinski commented 1 year ago

Have we explored other solutions? I thought I remember Phillip suggestion to have a "getting started" view if there were no tree items. For example:

image image

alexweininger commented 1 year ago

Have we explored other solutions? I thought I remember Phillip suggestion to have a "getting started" view if there were no tree items.

Yes, Phillip actually implemented 3 different welcome views for the workspace view. The PR removes the "no workspace" welcome view. The "no workspace resources" and "no workspace resource providers" welcome views remain.

alexweininger commented 1 year ago

I think we should consider improving these views with some buttons to get users started, but I won't block for that.

Yeah, I wasn't quite sure what to put in terms of buttons. It'd be nice to have a button that took them to the extensions view but only showed extensions that contribute workspace resource providers.