Skip to content

Studio interface: controls that say what they do, undo naming and redo - #223

Merged
PhysShell merged 2 commits into
mainfrom
claude/studio-ux
Nov 24, 2026
Merged

PhysShell merged 2 commits into
mainfrom
claude/studio-ux

Conversation

@PhysShell

@PhysShell PhysShell commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Implements composer-lab/STUDIO-UX-SPEC.md in both front ends (server page and Studio Web).

  • Octave share: switch «Авто | Вручную»; clicking the selected button does nothing.
  • A line under the piece parameters says they also apply to locked sections.
  • Lock button «Закрепить» / «🔒 Закреплено»; trailing rest as a two-button choice; disabled re-roll of a locked layer explains why.
  • «Дополнительно» says those doses act only on the next re-roll.
  • Sliders send once per gesture (release, or 600 ms after the last key); pending slider edits are sent before undo, redo, other edits, new piece or switching pieces.
  • «Пересчёт…» status chip at the bottom of the screen; the pressed control is disabled while its request runs.
  • Errors in a dismissible banner instead of alert(); after a failure the screen shows the saved state again.
  • «Отменить» names the action; new «Вернуть» (redo). Both stacks are limited to 50 entries in both front ends; server undo/redo leaves the piece unchanged if a write fails.
  • Imports reject backups whose undo/redo entries cannot be composed.
  • Plain Russian labels (no b_lead, trailing_rest, --notail), Russian mode names, short timeline labels on phones, accessible names and pressed states.

Music output is unchanged: all old generator versions give byte-identical MIDI and MusicXML (150 flag/seed cases).

Review: implementation and fixes by a Sonnet subagent; review by Astra 6.2 (12 findings, all fixed with tests), final cross-check by Fable (12 confirmed, 4 minor follow-ups, also fixed with tests).

Checked: 201 Python tests and 40 Node harness tests pass; site build and self-containment check pass; in headless Edge at 360 px the Auto/Manual switch, one undo entry for three arrow presses, undo/redo titles, the lock button and the status chip behave as specified, with no horizontal scroll and no console errors. Not checked: real touch input, screen-reader output, real IndexedDB/Pyodide beyond the page load, audio by ear.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ

PhysShell and others added 2 commits November 24, 2026 02:23
…d redo

Both front ends: the octave share becomes an Auto/Manual switch where the
selected button does nothing; piece parameters state that they also apply
to locked sections; lock and trailing-rest controls show their state and
action plainly; re-roll-only doses say so; sliders commit once per gesture
and pending commits are flushed before undo, redo, edits or navigation; a
fixed status chip shows recomputation; errors use a dismissible banner and
the screen returns to the saved state; undo names the last action and redo
is added (bounded to 50 on both sides, failure-atomic on the server);
imports reject unusable history entries; labels drop internal names,
modes are shown in Russian, and sliders and choice groups expose their
names and states to assistive technology.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
@PhysShell
PhysShell merged commit 552831d into main Nov 24, 2026
14 checks passed
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