Skip to content

Remove unused in-play button classes - #231

Merged
acrosman merged 1 commit into
mainfrom
fix/224-remove-unused-btn-classes
Oct 4, 2026
Merged

acrosman merged 1 commit into
mainfrom
fix/224-remove-unused-btn-classes

Conversation

@acrosman

@acrosman acrosman commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Fixes #224.

These button classes were styled but used by no markup, script, or test. Every in-game action already uses the shared .game-btn--primary or .game-btn--secondary.

Game Removed Kept
Sound Sweep .ss-btn--primary, .ss-btn--secondary .ss-btn and .ss-btn--icon (the Replay button uses them)
Directional Processing .dp-btn, .dp-btn--primary, .dp-btn--secondary, and .dp-btn in the shared notebook-key selectors .dp-dir-btn
Field of View .fov-btn, .fov-btn--primary, .fov-btn--secondary, and .fov-btn in the shared notebook-key and focus selectors .fov-choice-btn, .fov-loc-cell

The notebook-key comments and each game's CLAUDE.md no longer mention the removed classes.

Before removing them, I searched each game's HTML, JS, tests, and tutorial for the class names and for class names built in code. None were found. (The #ss-btn-* and #dp-btn-* matches are element IDs, not classes.) The remaining selectors are unchanged, so nothing on screen should look different.

npm run lint and npm test (2117 tests) pass.

Signed: Claude Code (Claude Opus 5.5) for Aaron Crosman

🤖 Generated with Claude Code

Sound Sweep's .ss-btn--primary and .ss-btn--secondary, and all of
Directional Processing's .dp-btn and Field of View's .fov-btn rules,
were styled but used by no markup, script, or test. Every in-game action
already uses the shared .game-btn--primary or .game-btn--secondary.
Sound Sweep's .ss-btn base and .ss-btn--icon stay, because Replay uses
them.

The three games' CLAUDE.md files no longer describe the removed classes.

Fixes #224

Signed: Claude Code (Claude Opus 5.5) for Aaron Crosman

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@acrosman
acrosman merged commit 54fb046 into main Oct 4, 2026
7 checks passed
@acrosman
acrosman deleted the fix/224-remove-unused-btn-classes branch October 4, 2026 01:54
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.

Remove unused in-play button classes in Sound Sweep, Directional Processing, and Field of View

1 participant