microsoft / microsoft/aspire

[AzureTools][Aspire] The resized column width resets to the default size after closing the "View Details" tab on display size lower than 1920x1080

Open
#6,809 3 comments 2 reactions 0 assignees View on GitHub
📎papercut area-dashboard dashboard-resize
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**Regression:** A regression, this issue doesn't repro on Aspire 8.2.2.

**Clean machine:** Win11 x64 24h2 ENU
**VS Version:** VS 17.12.2 from [35523.42.d17.12]
**Aspire Version:** 9.1.0-preview.1.24575.3
**Apply NuGet Feeds**

**Repro Steps:**

1. Make sure that the display size of the machine lower than 1920x1080 pixels.
2. Create a new project with 'Enlist in .NET Aspire orchestration' checked with 9.0 Aspire version -> F5/Ctrl+F5 the project.
3. Minimize the webpage of the dashboard to make it smaller.
4. Under "Resources" in the dashboard, click on one of the columns -> Resize the column width to make it smaller/bigger.![Image](https://github.com/user-attachments/assets/f1c82969-cf36-4d5f-b22a-cee37fab2692)3. Click on the resource to open "View Details" tab.
4. Close the "View Details" tab.
5. Check whether the resized column width remain the same after closing the "View Details" tab.

**Expect:**
The resized column width should remain the same after closing the "View Details" tab.
![Image](https://github.com/user-attachments/assets/78e2980a-3a94-491e-8225-10f5801bda33)

**Actual:**
The resized column width resets to the default size after closing the "View Details" tab.
![Image](https://github.com/user-attachments/assets/21162d93-3bb0-4c7b-9263-69950929cb1c)

**More Info:**

1. This issue **also reproduces** under "Structured" in the dashboard.
![Image](https://github.com/user-attachments/assets/bc9abdfc-85b6-40a5-b93b-ec6daaec2c0d)
2. This issue **also reproduces** on Aspire 9.0.0.
3. In Aspire 8.2.2, the issue only reproduces when navigating to different pages such as "Console", "Structured", "Traces", or "Metrics" after resizing the column width and reopening "Resources".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.