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

[Svelte]: Hide suggestion UI after query was submitted#62574

Merged
camdencheek merged 2 commits into
mainfrom
vk/fix-search-input-on-result-page
May 10, 2024
Merged

[Svelte]: Hide suggestion UI after query was submitted#62574
camdencheek merged 2 commits into
mainfrom
vk/fix-search-input-on-result-page

Conversation

@vovakulikov

@vovakulikov vovakulikov commented May 9, 2024

Copy link
Copy Markdown
Contributor

Closes https://github.com/sourcegraph/sourcegraph/issues/62572

Not the ideal solution but cheap one, I'm curious what @fkling
thinks about having this as standard behavior for suggestion logic.

Screen.Recording.2024-05-09.at.14.36.24.mov

Test plan

  • Go to the search result page and try to submit a query
  • You should see no suggestions after the submit action
  • Suggestions should appear right after you interact with the input

@vovakulikov vovakulikov requested a review from a team May 9, 2024 12:36
@vovakulikov vovakulikov self-assigned this May 9, 2024
@cla-bot cla-bot Bot added the cla-signed label May 9, 2024
@vovakulikov

Copy link
Copy Markdown
Contributor Author

This search box interaction makes me think: Should we autofocus search input on the search result page as well as on the home page, or is this too much?

cc @taiyab

@taiyab

taiyab commented May 10, 2024

Copy link
Copy Markdown
Contributor

This search box interaction makes me think: Should we autofocus search input on the search result page as well as on the home page, or is this too much?

cc @taiyab

I think so, yes.

@camdencheek camdencheek merged commit 7f9549e into main May 10, 2024
@camdencheek camdencheek deleted the vk/fix-search-input-on-result-page branch May 10, 2024 15:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Svelte: Search dropdown/popover not disappearing after search submission

3 participants