edgedb-ui icon indicating copy to clipboard operation
edgedb-ui copied to clipboard

Data Explorer compressing columns horizontally

Open Swapnull opened this issue 3 years ago • 1 comments

  • EdgeDB Version: 2.0+88c1706
  • OS Version: MacOS 12.0.1

The edgedb ui data explorer doesn't handle a table with lots of columns. It seems to compress each of them horizontally so they all fit on the screen. It would make a lot more sense if the fields were at least the width of the column title. Ideally it would be the width of the data inside it (e.g. a column with title id that has a uuid in would be better suited if you could see the full uuid by default.

Steps to Reproduce:

  1. Create a schema that has more than around 10 columns.
  2. Open in edgedb ui and try to view the record
  3. Everything will be compressed.

Example 1: A normal table image

Example 2: An abstract record (or any table with 20/30 fields) image

Swapnull avatar Jul 29 '22 08:07 Swapnull

Some expand/collapse functionality on the vertical bars that separate the fields would be nice too. A click or double-click on a vertical bar would make the column expand to fit or collapse. Perhaps "expand all" and "collapse all" buttons as well somewhere above the column headers.

corbinday avatar Feb 19 '24 13:02 corbinday