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

Ensure a smooth autocomplete experience #64

Open
gaurav opened this issue Jun 22, 2023 · 0 comments
Open

Ensure a smooth autocomplete experience #64

gaurav opened this issue Jun 22, 2023 · 0 comments

Comments

@gaurav
Copy link
Contributor

gaurav commented Jun 22, 2023

Translator UI calls NameRes as an autocomplete provider, i.e. it calls it for a list of concepts every time the user enters a new character. For a smooth autocomplete experience, NameRes should meet three criteria:

  1. Adding additional characters should not radically change search results.
  2. Once the expected result has shown up, adding additional characters shouldn't get rid of it.
  3. Every additional character should move the expected results further up the search result.

I think this was an artifact of our previous Solr query, but we should write a test to make sure the new query doesn't have the same problem.

Should fix NCATSTranslator/Feedback#315, NCATSTranslator/Feedback#312

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

No branches or pull requests

1 participant