informatics-isi-edu / deriva-webapps

Deriva-based web applications
Apache License 2.0
2 stars 1 forks source link

React Grid Layout defaults #197

Closed jrchudy closed 4 months ago

jrchudy commented 5 months ago
The default display of react grid layout when no options or some options defined should load and display without overlapping elements. We want to tackle this for a range of cases including: Plot Configuration in plot-sample-config.js to test the use case
Only 1 plot gudmap-todate-bar-1-plot
1 plot and 1 global user control heatmap-global
1 plot with 3 local user controls gudmap-todate-bar-swapped-global
3 plots gudmap-todate-bar-3-plot
2 plots with local user controls and a global user control gudmap-todate-bar-global

The following is from a comment in issue #161

How do we want to handle the case where grid config/layout is not defined in config file?

How do we want to handle spacing and sizing when they might contradict each other?

How do we wanna handle the case where no breakpoints parameter is provided in config file?

NOTE: Currently, setting the customized control width for larger screens without a defined layout appears somewhat complex with the current defaults set for grid layout. As per the discussion, it has been determined to be of lower priority.