Repository navigation
refactor: remove CSS for the retired classic layout (U11b) - #267
Merged
Merged
Conversation
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
3 of 4 tasks
funkatron
marked this pull request as ready for review
December 4, 2026 02:54
funkatron
added a commit
that referenced
this pull request
Dec 4, 2026
## 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)** - [x] `npm test` 782 pass; ESLint clean - [x] 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) - [x] `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](https://claude.ai/code)_ --------- Co-authored-by: Claude <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.
U11b — remove CSS for the retired classic layout
Stacked on #266 (U11a). Merge #266 first; this PR's base is
u11a-v2-only.Method
studio-core.css/seq-ui.cssis classed by what it matches in any state: visible → keep; only elements inside.ss-retired/.ss-native-hidden/ the hidden v1 header → remove; matches nothing and names a class/id no longer in the code → remove; matches nothing but the class still exists (e.g..key.down,:focus-visible, recording state) → keep.#recordStatustoast) counts as live, so its rules stay.Result
studio-core.cssandseq-ui.css).Tests rewritten (assertions on removed v1 rules dropped; the JS/HTML assertions in each test stay)
.master-bpm-chip{in seq-ui.css.master-tempono longer exists)Checks
Automated (done)
npm test781 pass; ESLint cleaniPad (owner)
Generated by Claude Code