cylc / cylc-ui

Web app for monitoring and controlling Cylc workflows
https://cylc.github.io
GNU General Public License v3.0
35 stars 26 forks source link

lumino: preserve layouts in LocalStorage #1837

Open oliver-sanders opened 2 weeks ago

oliver-sanders commented 2 weeks ago

Currently the UI will remember tab layouts within a session but not between them.

Using LocalStorage would allow tab layouts to be preserved between sessions. This would be especially relevant for saving the default layout (#1834) and restarts of the UIS.

Preserving layouts presents the additional complexity of working out how to behave when multiple sessions are present.

See #662

MetRonnie commented 2 weeks ago

Need to investigate how to JSON serialise the lumino widget objects