Repository navigation
feat(views): open datasets as Views from the Neuroglancer button - #477
Open
allison-truhlar wants to merge 5 commits into
Open
allison-truhlar wants to merge 5 commits into
allison-truhlar wants to merge 5 commits into
Conversation
Add `neuroglancerButtonTarget` (default `views`) and `viewsNeuroglancerUrlSource` (default `configured`), so the metadata button and the View link-out each have their own setting.
Before this change, "Open in Neuroglancer" in a View followed the standalone base URL. Now it follows its own preference, and the standalone one keeps controlling the metadata button and short links.
The Neuroglancer button on Zarr and OME-Zarr panels now starts the Create View flow unless the user chose standalone Neuroglancer. N5 stays standalone because the layer cart checkout can't read N5 yet.
allison-truhlar
marked this pull request as ready for review
October 21, 2026 19:29
allison-truhlar
added this pull request to stack #478
October 21, 2026 19:29
The Neuroglancer button now creates a View by default, so the data link tests set neuroglancerButtonTarget to standalone to reach the data link dialog.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #476.
What changed
neuroglancerButtonTarget(defaultviews) andviewsNeuroglancerUrlSource(defaultconfigured). Existing keys are unchanged, so saved preferences carry over.Follow-ups
probeDataset) can't read N5 yet.Testing
pixi run test-frontend: all tests pass, including a newDataToolLinkstest for the View override and its label.@krokicki
Clickup id: 17tkuw5zgd0