feat(v3): always-visible Variables panel + v3 polish (v0.18)#87
Merged
Conversation
Layout: make Variables (anchors) persistently visible instead of buried in the Settings drawer, plus the Tier-5 polish trio. - Split the left Library column into two stacked panels: Conditions (top) + Variables (bottom). Widen the column 280→320px. Extract renderVariables(host) from renderSettings (drawer now holds Experiment Info / Rig / Plugins only); wire it into renderAll and the variable handlers' error paths. In import mode the panel renders read-only (inputs disabled, no add/delete) alongside the locked library — consistent with the D4 lock. - Drop the in-tool "Beta / Editor" badge (span + CSS). Landing-page chip stays "Beta" per request. - New experiment_designer_v3_quickstart.html (modeled on the v2 quickstart): interface overview, edit/export walkthrough, the D4 cross-library import flow, key concepts, shortcuts. Linked from a new "Quick Start" header button. - New docs/development/v3-matlab-validation.md (Phase 8): the web→MATLAB validation flow — web side CI-green (576 checks), MATLAB side documented as a manual MCP-driven gate. Resolves the stale pointer in the v3 test header. - handoff-2: mark Phase 8 + Phase 9 shipped. Footer v0.17 → v0.18. No js/ or test changes — pure UI/doc. npm test green (arena 10 · v2 137 · v3 576). Browser-verified: Variables panel renders + edits + single-step undo; drawer no longer lists Variables; import mode locks the panel; badge gone, layout intact; quickstart loads and links back. No console errors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What this is
Two requested changes to the v3 Experiment Designer, in one round.
1. Variables always visible
The
variables:(anchors) editor was only reachable inside the collapsibleSettings drawer. It's now a persistent panel in the left column: the Library
column is split into Conditions (top) + Variables (bottom).
renderVariables(host)extracted fromrenderSettings→ renders into the new#variablesPanel; the drawer keeps Experiment Info / Rig / Plugins only.renderAlland the variable handlers' error paths. Left grid columnwidened 280→320px.
renders read-only (inputs disabled, add-row/delete hidden) beside the locked
library — consistent with the D4 lock.
2. v3 polish (handoff §3 Tier 5)
stays "Beta" (per decision).
experiment_designer_v3_quickstart.html(new) — modeled on the v2quickstart: interface overview, edit→export walkthrough, the D4 cross-library
import flow, key concepts, shortcuts. Linked from a new Quick Start header
button.
docs/development/v3-matlab-validation.md(new, Phase 8) — the web→MATLABvalidation flow: web side CI-green (576 checks), MATLAB side documented as a
manual MCP-driven gate. Resolves the stale pointer already in the v3 test header.
Tests
Browser-verified: Variables panel renders under Conditions; edit a scalar →
single-step Undo reverts; Settings drawer no longer lists Variables (Info/Rig/
Plugins only); enter import → panel locks read-only, cancel → editable again; Beta
badge gone with layout intact; quickstart page loads with all sections + working
back link. Zero console errors. Screenshot of the split layout in the session.
🤖 Generated with Claude Code