dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.8k stars 450 forks source link

[AzureTools][Aspire][Suggestion] It would be better if the instrument group automatically expands and automatically jumps to the clicked instrument in the instrument list when we click an instrument from the instrument group page and the instrument group is collapsed #3466

Open v-mengwe opened 6 months ago

v-mengwe commented 6 months ago

Clean machine: Win11 x64 23h2 ENU VS Version: VS 17.10 Preview 3 from [34804.81.d17.10] Aspire Version: 8.0.0-preview.5.24201.12 Apply NuGet Feeds Install Docker Desktop/Podman Desktop

REPRO STEPS:

  1. Create a new Aspire starter project.
  2. F5.
  3. In the dashboard, click "Metrics" -> Select a resource -> Click on an instrument group -> Click on a link on the opened instrument group page.

Actual:

  1. Both the instrument group and the clicked instrument are selected in the instrument list. Metrics2
  2. The instrument list does not automatically jump to the clicked instrument. Metrics5
  3. Collapse an instrument group -> Click on an instrument group -> Click on a link on the opened instrument group page -> Instrument group is not automatically expanded. Metrics1

Suggestion:

  1. It would make more sense if only the clicked instrument was selected.
  2. It would be better if the instrument list automatically jumps to the clicked instrument when clicking an instrument from the instrument group page.
  3. It would be better if the instrument group automatically expands and automatically jumps to the clicked instrument in the instrument list when we click an instrument from the instrument group page and the instrument group is collapsed.
kvenkatrajan commented 3 months ago

@JamesNK can you have a look please?

JamesNK commented 3 months ago

The first point is a bug in FluentUI tree control. I couldn't find a fix.

We should try and fix these eventually, but they're pretty low priority.