-
Notifications
You must be signed in to change notification settings - Fork 0
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
458 add advanced search for covid single variant page that offers variant query #477
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder: Squash commits and rename
What I also left out, was a conversion of the "regular" queries to variant queries. If we want this, I think we should do this in a new ticket. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's maybe rebase ;)
website/src/components/pageStateSelectors/SingleVariantPageStateSelector.tsx
Outdated
Show resolved
Hide resolved
website/src/components/views/compareSideBySide/GenericCompareSideBySidePage.astro
Show resolved
Hide resolved
website/src/views/pageStateHandlers/CompareSideBySidePageStateHandler.ts
Outdated
Show resolved
Hide resolved
website/src/views/pageStateHandlers/SingleVariantPageStateHandler.spec.ts
Outdated
Show resolved
Hide resolved
18c50d0
to
5ac1603
Compare
5ac1603
to
ca7d019
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://localhost:4321/flu/compare-side-by-side doesn't work ("view.pageStateHandler.datasetFilterToLapisFilter is not a function")
<button className='text-sm hover:text-gray-500' onClick={() => removeVariant(id)}> | ||
Remove | ||
</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this is too small for mobile users. Let's see. I'm not blocking on this here.
resolves #458
Summary
Adds the option to use variantQueries for covid. Since we are in the process of supporting variantQueries for other organisms, it is implemented for all organisms and only toggled off for all except covid.
This also removes the boolean parameter "hideMutationFilter". Similar to the lineage filters, it is dependent, if there is an option for mutation filters provided. If not, it is not rendered.
Screenshot
In regular mode:
Using variant queries (on single variant page):
Using variant queries (on compare variants page):