Restore Custom Experiments - #241
Merged
Merged
Conversation
jdpigeon
added a commit
that referenced
this pull request
Aug 18, 2026
- Add concrete defaults merge for sparse custom params (fixes Ubuntu typecheck) - Capture workspace state before debounce to survive navigation cleanup - Serialize async condition rebuilds with revision guards - Replace raw bwfile:// path concatenation with authorized URL registry - Add .jpeg/.webp support and cross-platform URL encoding - Add regression tests for all fixed behaviors
Rewire the Custom bank path so students can pick image folders, preview stimuli, and persist workspace state. Serve user images over bwfile:// (Vite /@fs 403s paths outside the repo). Debounce workspace saves on keystroke. Restore PYODIDE_SOURCE_DIR after it was dropped from main.
- Add concrete defaults merge for sparse custom params (fixes Ubuntu typecheck) - Capture workspace state before debounce to survive navigation cleanup - Serialize async condition rebuilds with revision guards - Replace raw bwfile:// path concatenation with authorized URL registry - Add .jpeg/.webp support and cross-platform URL encoding - Add regression tests for all fixed behaviors
jdpigeon
force-pushed
the
restore-custom-experiments
branch
from
August 18, 2026 20:15
caf56de to
fac93c9
Compare
4 tasks
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.
Summary
Restores the V1 custom-experiment authoring path.
getExperimentFromType(CUSTOM), Conditions/Trials viaStimuliDesignColumn/StimuliRowappState.jsoneven when the workspace dir is missing (persistExperimentState)bwfile://+ CSPimg-src(Vite/@fscannot serve~/Documents)PYODIDE_SOURCE_DIR/FILE_TYPESimports dropped from mainTest plan
~/Documents/cartoonsimages (no Vite 403, no CSP block)