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

Use filterOptions to modify filter search algorithm #1344

Merged
merged 1 commit into from
May 24, 2021

Conversation

didithilmy
Copy link
Contributor

Description of proposed changes

This PR addresses the issue outlined on #1271 without the need of upgrading react-select to a newer version.

Related issue(s)

Fixes #1271

Testing

I tested the changes manually by running auspice develop and trying out the filter using ncov/global data. There was no significant performance issues compared to the previous search algorithm.

image

@jameshadfield
Copy link
Member

Thanks @didithilmy - tested this out locally and it works well without any (noticeable) performance penalty. Will include in the next auspice release!

@jameshadfield jameshadfield merged commit d4dd955 into nextstrain:master May 24, 2021
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.

Improve search algorithm in sidebar filtering UI
2 participants