Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

web: Cycle through in-file search results when pressing the numpad enter key#62665

Merged
fkling merged 2 commits into
mainfrom
fkling/in-file-search-enter
May 14, 2024
Merged

web: Cycle through in-file search results when pressing the numpad enter key#62665
fkling merged 2 commits into
mainfrom
fkling/in-file-search-enter

Conversation

@fkling

@fkling fkling commented May 14, 2024

Copy link
Copy Markdown
Contributor

We already cycle through results when pressing the "normal" Enter key. This didn't work for the numpad enter key because event.code reports NumpadEnter, not Enter. event.key returns the same value for both keys.

This was adjusted in response to customer feedback.

Test plan

Manual testing.

…ter key

We already cycle through results when pressing the "normal" Enter key.
This didn't work for the numpad enter key because `event.code` reports
`NumpadEnter`, not `Enter`. `event.key` returns the same value for both
keys.

This was adjusted in response to customer feedback.
@fkling fkling added the team/code-search Issues owned by the code search team label May 14, 2024
@fkling fkling requested a review from a team May 14, 2024 15:28
@fkling fkling self-assigned this May 14, 2024
@cla-bot cla-bot Bot added the cla-signed label May 14, 2024
@fkling fkling enabled auto-merge (squash) May 14, 2024 15:37
@fkling fkling merged commit 196d3f6 into main May 14, 2024
@fkling fkling deleted the fkling/in-file-search-enter branch May 14, 2024 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/code-search Issues owned by the code search team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants