Skip to content

refactor: remove the LFOs tab and FX lead text (U11c) - #268

Merged
funkatron merged 5 commits into
mainfrom
u11c-markup
Dec 4, 2026
Merged

funkatron merged 5 commits into
mainfrom
u11c-markup

Conversation

@funkatron

Copy link
Copy Markdown
Owner

U11c — remove the LFOs tab and the FX lead text

Stacked on #267 (U11b) → #266 (U11a). Merge in order.

What changed

  • LFOs tab removed: #tabLfos is gone. #lfoPanel is a plain region ("LFOs") that the shell moves onto SYNTH, as before.
  • editor-tabs.js and diagnostics-panel.js no longer know an lfos tab.
  • The static FX lead paragraph (no ids) is removed; the FX help entries cover it.

What stays, and why

The retired v1 containers that still hold element ids (FX inputs, Arp selects, drum bus tabs, chip cards …) stay in the DOM: sid-studio.js reads and writes those controls, and the standing rule is to keep every id. Moving them out of index.html would mean rebuilding those controls in the v2 modules; that is a separate, larger refactor, not part of the plan's U11.

Tests

  • editor-tabs.test.js: tab cycle without LFOs; new test that there is no tabLfos, the LFO panel is a region, and the shell moves it.
  • No other index.html text test asserted the removed markup.

Checks

Automated (done)

  • npm test 782 pass; ESLint clean
  • Pixel diff vs U11b: identical except a 1 px divider between DRUMS and FX when DRUMS is selected, which now matches the SYNTH/SEQ divider (the hidden LFOs button used to sit between them)
  • scripts/ui2-a11y-audit.mjs: no unnamed controls, duplicate ids or page errors

iPad (owner)

  • SYNTH still shows the LFOs; page tabs work

Generated by Claude Code

index.html sets data-ui="2" and links the v2 stylesheets directly, so
there is no flash of the classic layout. ?ui= and the Prefs Interface
switch are removed. v1-only CSS and retired markup follow in U11b/U11c.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QahLPKUk6fvdvPPnPP3RNJ
Drop 210 v1 rules that only match containers the new interface retires
(.ss-retired, .ss-native-hidden, the v1 header) or classes no longer in
the code. Screenshots of every page, the drum editor tabs, Prefs, help,
presets, pads, hidden keyboard, a picker and portrait are pixel-identical.
Tests that asserted the removed rules drop those lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QahLPKUk6fvdvPPnPP3RNJ
#tabLfos is gone; #lfoPanel becomes a region the shell moves onto SYNTH.
editor-tabs.js and diagnostics-panel.js drop the lfos tab. The static FX
lead paragraph (no ids) is removed. Retired containers that still hold
ids stay, because sid-studio reads those controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QahLPKUk6fvdvPPnPP3RNJ
github-actions Bot added a commit that referenced this pull request Dec 4, 2026
@funkatron
funkatron marked this pull request as ready for review December 4, 2026 02:54
Base automatically changed from u11b-v1-css to main December 4, 2026 02:58
@funkatron
funkatron merged commit 1362836 into main Dec 4, 2026
1 check passed
@funkatron
funkatron deleted the u11c-markup branch December 4, 2026 03:00
github-actions Bot added a commit that referenced this pull request Dec 4, 2026
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.

2 participants