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

add "advanced search" for Covid single variant page that offers variant query #458

Open
fengelniederhammer opened this issue Jan 7, 2025 · 1 comment · May be fixed by #477
Open

add "advanced search" for Covid single variant page that offers variant query #458

fengelniederhammer opened this issue Jan 7, 2025 · 1 comment · May be fixed by #477
Assignees

Comments

@fengelniederhammer
Copy link
Contributor

Some collections are defined via variant queries. In our current filter input field, the variant query is not shown anyway.

Similar to CovSpectrum, let's add a toggle or similar to the "Variant Filter" section that switches between "simple input" (the current version - pango lineage and mutations) and "advanced search" (a text field that accepts a variant query).

Do we need explanation on how to use the variant query? Where should we put it?

@JonasKellerer JonasKellerer self-assigned this Jan 13, 2025
@JonasKellerer
Copy link
Contributor

gs-text-input does not allow to set a lapisField, which is not in the data, but this would have to be done, if one wants to use gs-text-input for the variant filter. As discussed, we will not create a (web)-component for this, but just use a simple input field. We don't need any of the special features of the gs-text-input, like a dropdown selector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants