dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.92k stars 479 forks source link

Use custom grid for resource volumes #6444

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.

Resource volumes are displayed in standard property grid. It always has two columns: name/value.

Resource volumes have more than two values, and mashes multiple values into the values column. For example, the mapped path and volume type are both in value:

Image

Describe the solution you'd like

Add custom grid with three columns to properly format all data.

Additional context

No response

joperezr commented 3 weeks ago

We already use custom grids on Health Checks grid, so if someone wants to pick this up, we would just do the same but for resource volumes. The columns we would want are:

willibrandon commented 1 week ago

Agreed, it looks nicer when values have their own columns. Is something like this what you had in mind?

Image

JamesNK commented 6 days ago

Yes, that's great.