overthesun / simoc-web

This is the web interface to SIMOC
https://ngs.simoc.space/
Other
3 stars 0 forks source link

Add additional dashboard panel layouts (1x1, 2x1, 2x2). #716

Closed ezio-melotti closed 1 month ago

ezio-melotti commented 1 month ago

This fixes:

As described in the issue, I was able to implement different layouts by keeping the default 3 column layout for all cases except 1, 2, 3, and 4 panels, which now use respectively a 1x1, 2x1, 2x2, and 2x2 layout. Before this PR they were using a 3 column layout too, with 1 or 2 lines.

The handling of fullscreen panels is now integrated in this too, since the fullscreen panel just uses the same 1x1 layout used when there is only one panel.