microsoft / vscode-dapr

A Visual Studio Code extension for Dapr development
Other
58 stars 18 forks source link

[Suggestion] It would be better if clicking the anywhere of the "app" node to expand it #220

Open v-xinda opened 2 years ago

v-xinda commented 2 years ago

OS: All Build Version: 20220108.1 Regression: Not a Regression

Repro Steps:

  1. Create a new .NET 6.0 ASP.NET Web API application by "dotnet new webapi --no-https --name netwebapp".
  2. Open the application in VS Code -> Select "Dapr: Scaffold Dapr Tasks" from Command Palette -> Select ".NET Core Launch (web)" when asked to select a configuration -> Enter an application ID (Select the default "app") -> Enter an application port (Select the default "5000").
  3. Debug with configuration ".NET Core Launch (web) with Dapr".
  4. Navigate to "Dapr" view -> Click the "APPLICATIONS" node -> Click the anywhere of the "app" node.
  5. Check whether the "app" node expands or not.

Actual:

  1. The "app" node doesn't expand.
  2. The "app" node expands only by clicking the down arrow beside of the "app" node or double clicking it. image

Suggestion: It would be better if clicking the anywhere of the "app" node to expand it.

More Info:

  1. This issue does not reproduce on the "APPLICATIONS" node.
  2. This issue does not reproduce on the "Components“ node.
philliphoff commented 2 years ago

@v-xinda Thanks for submitting the issue; I can reproduce it as well. It's very strange behavior. We (i.e. the extension) doesn't control that behavior; VS Code itself is responsible for the UX (though it's certainly possible that the extension is contributing in some weird way as the tree gets updated). We'll need to investigate whether it's a more general VS Code UX issue.