Add config URL parameter and automatic layering by file name#818
Merged
Add config URL parameter and automatic layering by file name#818
Conversation
✅ Deploy Preview for volview-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
zachmullen
approved these changes
Nov 8, 2025
Implements ?config= URL parameter to ensure configuration files are loaded before data files, eliminating race conditions when both are specified. Fixes #817
Implements automatic layering based on file name patterns. When loading files with matching names like base-image.nii and base-image.layer.nii, the layer file is automatically placed on top of the base image.
Sort matching layers and segment groups alphabetically by filename to provide deterministic ordering. Users can control stacking order using numeric prefixes in filenames (e.g., file.layer.1.nii, file.layer.2.nii). Updated documentation to clarify naming patterns and show that file formats don't need to match between base image and associated files.
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.
Implements
?config="myconfig.json"URL parameter to ensure configuration files are loaded before data files, eliminating race conditions when both are in a?filesparamterFixes #817