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

disabling user controls #731

Open
fcollman opened this issue Feb 13, 2025 · 1 comment
Open

disabling user controls #731

fcollman opened this issue Feb 13, 2025 · 1 comment

Comments

@fcollman
Copy link
Contributor

I was wondering if there is a way to lock down user controls within neuroglancer when embedding it say within an iframe.

For example, codex might want to make this embedded neuroglancer view

https://codex.flywire.ai/app/cell_details?data_version=783&root_id=720575940626979621

Configured so that users can't hit space, or can't bring up the layer dialogs, and can just rotate the 3d view.

Is there an approach that would be recommended to pull this off?

@jbms
Copy link
Collaborator

jbms commented Feb 13, 2025

There isn't currently a way to do this.

It could be supported either through build-time options or through the state json.

We would just have to figure out a reasonable way to express the various options.

To allow such things to be specified in the state json would be the simplest and most flexible option, but it could be a bit annoying to have to manually modify the url if you want to remove the restrictions.

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