polyscope icon indicating copy to clipboard operation
polyscope copied to clipboard

Implement saving/loading of persistent values to configure multiple views

Open nmwsharp opened this issue 3 years ago • 0 comments

Desired workflow: The user programmatically configures several "views" of their data, each of which corresponds to a different collection of settings (stuff which is enabled, etc). The user wants to quickly switch between these views without clicking a bunch.

How to get there: We could get this fairly easily by leveraging the persistent value caches. Work items would be:

  • define a serialization format for persistent values (in-memory for now)
  • add a storeConfiguration() function or something, which saves the state of all persistent values to an internal list
  • add a loadConfiguration() function which restores persistent values
  • buttons in the GUI, etc

This has significant overlap with things we would want to do regardless to enable serialization more broadly.

nmwsharp avatar Oct 20 '22 20:10 nmwsharp