Delete the unused focus trap module - #3390
Merged
Merged
Conversation
rosslovas
approved these changes
Aug 19, 2026
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
force-pushed
the
willlaugesen/delete-unused-focus-module
branch
from
August 19, 2026 03:40
0c6e91d to
0e674eb
Compare
|
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. |
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.
src/scripts/modules/focus.jsis dead code. Its only consumer wasnav-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