holoviz/lumen

Data Refresh Breaks Layout Styling

tlmille2 opened this issue · 2 comments

When you first load into a Lumen dashboard using a layout configuration for the views, the dashboard maintains the styling of those components.
image

When you click the data refresh button, the layout is ignored and you see the following view:
image
image

Example dashboard.yml configuration.

config:
  title: "Example Dashboard"
sources:
  dremio:
    type: intake
    shared: true
    cache_dir: cache
    uri: catalog.yml
targets:
       
  - title: Stuff
    source: dremio
    views:
      View1:
        table: dremio_vds
        type: trend
        y: y1
      View2:
        table: dremio_vds
        type: trend
        y: y2
      View3:
        table: dremio_vds
        type: trend
        y: y3
      View4:
        table: dremio_vds
        type: trend
        y: y4
      View5:
        table: dremio_vds
        type: heatmap_weekly
      View6:
        table: dremio_vds
        type: thing
        y: y6
        variable: 60

    layout: [["View1", "View2", "View3", "View4"], ["View5", "View6"]]
    sizing_mode: stretch_width

Can't reproduce this one anymore.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.