VizierDB / vizier-scala

The Vizier kernel-free notebook programming environment
Other
34 stars 11 forks source link

Standalone Tabular Data Not Showing #221

Closed emilkovacev closed 1 year ago

emilkovacev commented 2 years ago

Describe the bug At the moment, standalone tabular data (aside from column 0) does not show. This happens because of a recent fix, which sets the width of the table equal to the number of columns times the width of each column + width of column 0.

The first value, the number of columns, is the correct value in the general table view, but is set to 0 in the standalone view.

To Reproduce Steps to reproduce the behavior:

  1. Make a new project, type in a title and click Create
  2. Add a Module, and select Load Dataset
  3. Under the filesystem, click Local Files > test_data > r_bigger.csv
  4. Scroll down and click Save
  5. You should see a table with a bunch of values in it
  6. Click the blue tabular icon [Screen Shot 2022-08-07 at 3 14 01 PM]
  7. See the error

Expected behavior The standalone view should show the same exact table as in step 5.

Screenshots N/A

Environment (please complete the following information): OS: Darwin Emils-Macbook-Pro-7.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64 Browser: firefox Java version: 1.8.0_332 Vizier version: 1.2.0

okennedy commented 1 year ago

Fixed a few revisions ago