Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWC-7203: change to a project search query object #5604

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

jay-hodgson
Copy link
Member

No description provided.

@jay-hodgson jay-hodgson requested a review from nickgros December 10, 2024 15:40
Comment on lines 310 to 312
query.setQueryTerm(
Collections.singletonList(projectSearchTextBox.getValue())
);
Copy link
Contributor

Choose a reason for hiding this comment

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

should we split up the text into multiple query terms? I am indifferent and prefer whatever yields "better" results, but if we don't, otherwise you get this sequence where search doesn't "feel" idempotent:

  1. Search from the project dashboard "my search terms"
  2. Search place opens with query "my search terms" + "project" filter
  3. Click "Search" again, and the results populate with the query ["my", "search", "terms"] + "project filter".

@jay-hodgson jay-hodgson merged commit 0f07fa5 into Sage-Bionetworks:develop Dec 10, 2024
3 checks passed
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