Skip to content

feat(v3): always-visible Variables panel + v3 polish (v0.18)#87

Merged
mbreiser merged 1 commit into
mainfrom
feat/v3-variables-panel-and-polish
Jun 1, 2026
Merged

feat(v3): always-visible Variables panel + v3 polish (v0.18)#87
mbreiser merged 1 commit into
mainfrom
feat/v3-variables-panel-and-polish

Conversation

@mbreiser
Copy link
Copy Markdown
Contributor

@mbreiser mbreiser commented Jun 1, 2026

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 collapsible
Settings drawer. It's now a persistent panel in the left column: the Library
column is split into Conditions (top) + Variables (bottom).

  • renderVariables(host) extracted from renderSettings → renders into the new
    #variablesPanel; the drawer keeps Experiment Info / Rig / Plugins only.
  • Wired into renderAll and the variable handlers' error paths. Left grid column
    widened 280→320px.
  • Import-mode aware: while a cross-library import is in progress the panel
    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)

  • Dropped the in-tool "Beta / Editor" badge (span + CSS). Landing-page chip
    stays "Beta" (per decision).
  • experiment_designer_v3_quickstart.html (new) — 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.
  • docs/development/v3-matlab-validation.md (new, 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 already in the v3 test header.
  • handoff-2: Phase 8 + Phase 9 marked shipped. Footer v0.17 → v0.18.

Tests

npm test → arena 10/10 · v2 137/137 · v3 576/576   (no js/ or test changes)

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

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>
@mbreiser mbreiser merged commit 712aaf3 into main Jun 1, 2026
2 checks passed
@mbreiser mbreiser deleted the feat/v3-variables-panel-and-polish branch June 1, 2026 13:21
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

Successfully merging this pull request may close these issues.

1 participant