Skip to content

Delete the unused split button script - #3383

Merged
enf0rc3 merged 1 commit into
mainfrom
willlaugesen/remove-dead-split-button-script
Aug 19, 2026
Merged

Delete the unused split button script#3383
enf0rc3 merged 1 commit into
mainfrom
willlaugesen/remove-dead-split-button-script

Conversation

@enf0rc3

@enf0rc3 enf0rc3 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

src/scripts/split-button.ts is dead code. Nothing imports it, and the selectors it matches ([data-split-menu], [data-split-trigger]) are not rendered by any component. Menu.astro imports src/scripts/menu.ts, which matches [data-menu].

Split out of NES-294, which noticed it.

🤖 Generated with Claude Code

src/scripts/split-button.ts is not imported anywhere, and the selectors
it matches ([data-split-menu] and [data-split-trigger]) are not rendered
by any component. Menu.astro handles this behaviour through
src/scripts/menu.ts instead.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3383.z22.web.core.windows.net.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

@enf0rc3
enf0rc3 marked this pull request as ready for review August 19, 2026 02:04
@enf0rc3
enf0rc3 merged commit 2742a45 into main Aug 19, 2026
7 checks passed
@enf0rc3
enf0rc3 deleted the willlaugesen/remove-dead-split-button-script branch August 19, 2026 02:43
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.

3 participants