Skip to content

Delete the unused focus trap module - #3390

Merged
enf0rc3 merged 1 commit into
mainfrom
willlaugesen/delete-unused-focus-module
Aug 19, 2026
Merged

Delete the unused focus trap module#3390
enf0rc3 merged 1 commit into
mainfrom
willlaugesen/delete-unused-focus-module

Conversation

@enf0rc3

@enf0rc3 enf0rc3 commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

src/scripts/modules/focus.js is dead code. Its only consumer was nav-mobile.js, which stopped importing it in 6dc9f4b (Feb 2024) when the mobile menu was rewritten. Nothing has imported it since.

query.js, its own import, stays: fourteen other modules use it.

Found while confirming #3383.

🤖 Generated with Claude Code

@enf0rc3
enf0rc3 enabled auto-merge (squash) August 19, 2026 02:44
`src/scripts/modules/focus.js` is dead code. Its only consumer was
`nav-mobile.js`, which stopped importing it in 6dc9f4b (Feb 2024) when the
mobile menu was rewritten. Nothing has imported it since.

`query.js`, its own import, stays: fourteen other modules use it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@enf0rc3
enf0rc3 force-pushed the willlaugesen/delete-unused-focus-module branch from 0c6e91d to 0e674eb Compare August 19, 2026 03:40
@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3390.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 merged commit 5ab370e into main Aug 19, 2026
7 checks passed
@enf0rc3
enf0rc3 deleted the willlaugesen/delete-unused-focus-module branch August 19, 2026 03:51
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