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

search: Disable 'jump to suggestion' behavior in secondary query inputs#59941

Merged
fkling merged 2 commits into
mainfrom
fkling/old-search-input-jump
Jan 29, 2024
Merged

search: Disable 'jump to suggestion' behavior in secondary query inputs#59941
fkling merged 2 commits into
mainfrom
fkling/old-search-input-jump

Conversation

@fkling

@fkling fkling commented Jan 29, 2024

Copy link
Copy Markdown
Contributor

This has been an issue for a while and has recently been reported again internally (Slack).

The "old" search input is still used in places other than the search and repository pages (i.e. everywhere that's not the main search input). These places are solely used for entering a query, not for navigating around, and so "jump to suggestion" for repositories and files should be disabled.

Test plan

Selecting a repository by pressing Enter in the search context query input updates the input instead of navigating to the repo page.

@fkling fkling added bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. team/code-search Issues owned by the code search team labels Jan 29, 2024
@fkling fkling requested a review from a team January 29, 2024 14:33
@fkling fkling self-assigned this Jan 29, 2024
@cla-bot cla-bot Bot added the cla-signed label Jan 29, 2024
@fkling fkling merged commit 81e8805 into main Jan 29, 2024
@fkling fkling deleted the fkling/old-search-input-jump branch January 29, 2024 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. 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