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

support loading from google drive or dropbox #232

Open
toloudis opened this issue Aug 1, 2024 · 3 comments
Open

support loading from google drive or dropbox #232

toloudis opened this issue Aug 1, 2024 · 3 comments
Assignees
Labels
data-loading enhancement New feature or request

Comments

@toloudis
Copy link
Contributor

toloudis commented Aug 1, 2024

Use Case

sometimes the shareable dropbox or drive link is not really the "http GET-able" link.
Simularium had to deal with this too.

Solution

Try the simularium solution.
(doctor the url to make it work)

@toloudis
Copy link
Contributor Author

toloudis commented Aug 1, 2024

example
starting with shared drive url:
https://drive.google.com/file/d/11rdcZ5TVE-pmU9e4QuTA0WK3CoOgqPBi/view?usp=sharing
we can convert it to something like:
https://drive.google.com/uc?export=download&id=11rdcZ5TVE-pmU9e4QuTA0WK3CoOgqPBi
but then need to urlencode it to put it in the volumeviewer url:
https://volumeviewer.allencell.org/viewer?url=https%3A%2F%2Fdrive.google.com%2Fuc%3Fexport%3Ddownload%26id%3D11rdcZ5TVE-pmU9e4QuTA0WK3CoOgqPBi
and then the viewer doesn't know whether to try to load this as tiff or zarr (it's trying zarr, I think)

@ShrimpCryptid ShrimpCryptid added enhancement New feature or request priority Is under scheduling constraints. Should be prioritized over other outstanding PRs by reviewers. labels Aug 13, 2024
@toloudis
Copy link
Contributor Author

@lynwilhelm for adding the design. This ticket is in volume-viewer but the front end load dialog is in website-3d-cell-viewer... We can add a new front-end ticket over there too.

@lynwilhelm
Copy link
Contributor

Design complete:

Screenshot 2024-08-19 at 12 53 58 PM

Design link (look under "Modals"): https://www.figma.com/design/EJCCnElvRvObznBhN519sl/Components---CFE-%2B-3DWV?node-id=0-1&t=iiXRRTCAd3qq0kaH-1

@ShrimpCryptid ShrimpCryptid removed the priority Is under scheduling constraints. Should be prioritized over other outstanding PRs by reviewers. label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-loading enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants