influxdata / ui

UI for InfluxDB
92 stars 41 forks source link

Allow resizing of table columns or at least have sane defaults like Chronograf #2025

Open mugen6 opened 3 years ago

mugen6 commented 3 years ago

Currently using Chronograf 1.9 but trying to switch over to InfluxDBv2. It would be great to be able to set column sizes on tables like in Grafana. In Chronograf, it is possible to view logs in a table like this:

https://docs.influxdata.com/chronograf/v1.9/guides/analyzing-logs/#logs-in-dashboards

Current behavior: While Chronograf doesn't have resizable columns, it does automatically resize the columns to fit the data - the Severity column is very small and Message is appropriately sized.

image

Whereas the new Influx UI only provides fixed width columns:

image

Desired behavior: It would be great to achieve this in the Influx v2 UI:

image

Use case: Viewing logs but would also make much cleaner looking dashboards in general.

philjb commented 2 years ago
MarvinJWendt commented 2 years ago

This is still a relevant issue: I can't see the full User-Agent, but the IP Tab only contains little information and could be a lot smaller:

image

kristinarobinson commented 2 years ago

Assessing for work.

philjb commented 2 years ago

In cloud2, the Table visualization does not resize columns based on the size of the cell. Screen Shot 2022-05-27 at 11 01 26 AM

Here I have a cell that is much bigger than the data in my 2 column table and there is a lot of extra "wasted" screen space at the margins: Screen Shot 2022-05-27 at 11 01 05 AM

In this next screenshot, I have shrunk the cell size and while there is enough space to display the data in both columns the columns did not automatically resize and I cannot manually resize it. Screen Shot 2022-05-27 at 11 01 12 AM

I see that scroll bars appear which is helpful if the data can't be resized (at the same font) into the cell window.

It's also worsened because cells can only be certain sizes so either the cell is slightly too big and wastes screen real estate or slightly too small and hides the numbers.

ddovidenko commented 5 months ago

Any plans on fixing this? It's been 3 years...