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.61k stars 400 forks source link

Close details view with `ESC` key shortcut #5050

Open JamesNK opened 1 month ago

JamesNK commented 1 month ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

Details about resources, structured logs and spans are displayed in a details view that opens a new pane on the dashboard.

It might be convient if there if there was a shortcut to close the details view. ESC is the likely canditate.

Describe the solution you'd like

Pressing ESC key while the details view is open closes the details view.

Additional context

No response

JamesNK commented 1 month ago

An example is GitHub projects area:

  1. Go to https://github.com/orgs/dotnet/projects/310/views/1?query=sort%3Aupdated-desc+is%3Aopen
  2. Click on an issue. Details are opened in a pane
  3. Pressing ESC key closes the pane