Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial support for saving/restoring/sharing of workspaces (frontend) #1272

Closed
jott3077 opened this issue Nov 18, 2020 · 5 comments · Fixed by #2084
Closed

Initial support for saving/restoring/sharing of workspaces (frontend) #1272

jott3077 opened this issue Nov 18, 2020 · 5 comments · Fixed by #2084
Assignees
Labels
enhancement New feature or request requiring backend For issues or pull requests that require work in both frontend and backend

Comments

@jott3077
Copy link

jott3077 commented Nov 18, 2020

As an extension to layouts, states are a full CARTA session, including the images loaded, render settings, animator status etc.
It should be possible to save such states and reload them.

Associated backend issue CARTAvis/carta-backend#1185

Initial work for v4 beta1: (edit by @veggiesaurus)

  • treat workspaces like layouts, in the sense that we have a list of them in CARTA, and stored in .carta/config or .carta/workspaces (and in the database for controller users) This allows us to build up the functionality easily via the API stuff on the backend, and it will ensure that it works well for the controller and standalone.
  • exporting/importing will be done manually at first (e.g. copy-pasting to the carta folder)
  • temporary things (e.g. PV, moment images that haven't' been saved) don't get persisted

Working schema here

Things to save:

  • CARTA version
  • Layout, including docked widgets, floating widgets, and dialogs. This defines a set of active widgets and dialogs to be restored. deferred
  • The states of control UI elements in each active widget or dialog deferred
  • Preferences ?
  • A list of loaded images
  • A list of regions
  • A list of loaded catalogs deferred
  • A list of catalogs retrieved from remote services (either we keep the recipes of query or we keep a copy of remote catalogs as part deferred
@veggiesaurus
Copy link
Collaborator

@kswang1029 we've discussed this before, do we have an existing issue for it?

@kswang1029
Copy link
Collaborator

kswang1029 commented Nov 19, 2020

Sounds like (sort of) part of this #479

@kswang1029
Copy link
Collaborator

This feature sounds more like an extension of session resume.

@veggiesaurus
Copy link
Collaborator

I think this is primarily a frontend issue.

@kswang1029 kswang1029 transferred this issue from CARTAvis/carta-backend Dec 8, 2020
@arusstaylor
Copy link
Collaborator

not only reload them but capture the state and share it.

@kswang1029 kswang1029 added the enhancement New feature or request label Jun 8, 2021
@kswang1029 kswang1029 changed the title Saving/restoring states of CARTA Saving/restoring/sharing states of CARTA Jun 8, 2021
@kswang1029 kswang1029 changed the title Saving/restoring/sharing states of CARTA Saving/restoring/sharing states of CARTA (frontend) Aug 25, 2022
@kswang1029 kswang1029 added the requiring backend For issues or pull requests that require work in both frontend and backend label Aug 25, 2022
@veggiesaurus veggiesaurus changed the title Saving/restoring/sharing states of CARTA (frontend) Saving/restoring/sharing of workspaces (frontend) Nov 8, 2022
@veggiesaurus veggiesaurus changed the title Saving/restoring/sharing of workspaces (frontend) Initial support for saving/restoring/sharing of workspaces (frontend) Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request requiring backend For issues or pull requests that require work in both frontend and backend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants