Skip to content

Focus the project input when "/" is pressed#284

Merged
ewdurbin merged 1 commit intopypi:mainfrom
woodruffw-forks:ww/focus
Apr 23, 2026
Merged

Focus the project input when "/" is pressed#284
ewdurbin merged 1 commit intopypi:mainfrom
woodruffw-forks:ww/focus

Conversation

@woodruffw
Copy link
Copy Markdown
Member

This has been driving me nuts for literally years -- PyPI will focus the search when you type /, so I think the inspector service should too 🙂

(I did this in plain, open-coded JS for simplicity's sake.)

Signed-off-by: William Woodruff <william@yossarian.net>
Copy link
Copy Markdown
Member

@ewdurbin ewdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

matches PyPI, seems good!

@ewdurbin ewdurbin merged commit 59d8a93 into pypi:main Apr 23, 2026
4 checks passed
@woodruffw woodruffw deleted the ww/focus branch April 23, 2026 13:33
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.

2 participants