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

State persistence for link sharing #697

Open
dyf opened this issue May 25, 2023 · 4 comments
Open

State persistence for link sharing #697

dyf opened this issue May 25, 2023 · 4 comments

Comments

@dyf
Copy link

dyf commented May 25, 2023

I'd like to be able to bookmark my URL and share it with others with the expectation that my view will persist when opened elsewhere. We would love to use this to be able to generate and share curated views of our large scale OME-zarr data.

You could perhaps persist state in the URL. The only additional ask would be the option to specify a JSON file that contains the state as well, since sometimes these URLs get quite long.

@PaulHax
Copy link
Collaborator

PaulHax commented May 25, 2023

❤️ this idea. What is the most important state we should persist in the URL? Perhaps to start with:

  • camera pose
  • gradient opacity (one of the sliders)
  • color map
  • ???

For now, pick bits of state piecemeal. Serializing all the state would not be trivial in its current incarnation.

@dyf
Copy link
Author

dyf commented May 26, 2023

Great! Those for sure, maybe also background color and the transfer function.

@PaulHax
Copy link
Collaborator

PaulHax commented May 29, 2023

Talked with @thewtex about this. Thinking we will focus effort on a next generation viewer that will serialize all state to the URL.

But, happy to support any effort adds this feature to this viewer.

@dyf
Copy link
Author

dyf commented Jun 13, 2023

@PaulHax I see. Well I will be very curious to follow the development of the next gen viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants