opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.67k stars 871 forks source link

[Discover] column scaling regression in discover #5671

Open msillence opened 9 months ago

msillence commented 9 months ago

Describe the bug

Since upgrading to 2.11 though the new styling is very nice but the previous version I remember doing better with auto scaling when you select fields to show in discover

They are now all the same size and if you manually change the column widths they reset when you navigate to the next page

Also it would be nice if the last column auto pinned to the far right. Currently if you drag the left of the last column the right side comes with the left meaning you have blank space to the right of the last column. See second screen shot

Related component

Other

To Reproduce

  1. Go to discover
  2. drag some columns into the selected fields

all columns are the same width regardless of content

Expected behavior

the columns with very short text used to be more compact

Additional Details

Screenshots All columns now the same size image

dead space to right of columns when dragging fields to left image

ticheng-aws commented 9 months ago

Hi @msillence, I suggest moving the issue to the dashboard project https://github.com/opensearch-project/OpenSearch-Dashboards.

ananzh commented 8 months ago

Hey @msillence, thanks for opening this and providing valuable feedbacks. For the first request regarding side nav, we saw similar request here https://github.com/opensearch-project/OpenSearch-Dashboards/issues/4780 and https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5635 add collapse option to resolve it. There is also another customer report this in https://github.com/opensearch-project/OpenSearch-Dashboards/issues/5683. For the second one regarding the dead block, we will work on it.

MadaniKK commented 8 months ago

Hi, can I help look into the second one? Thank you!

ananzh commented 8 months ago

@MadaniKK sure. Thank you. Assigned to you.

ananzh commented 4 months ago

Sorry for the delay. Will revisit this in 2.16.

ananzh commented 3 months ago

This is not a bug. We do support collapsible left nav now to free more space. @msillence I will remove the bug tag and let me know if this collapsible nav help your issue.