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

458 add advanced search for covid single variant page that offers variant query #477

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

JonasKellerer
Copy link
Contributor

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:
grafik

Using variant queries (on single variant page):
grafik

Using variant queries (on compare variants page):
grafik

Copy link
Contributor Author

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

@JonasKellerer
Copy link
Contributor Author

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.

Copy link
Contributor

@fengelniederhammer fengelniederhammer left a 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 ;)

@JonasKellerer JonasKellerer force-pushed the 458-add-advanced-search-for-covid-single-variant-page-that-offers-variant-query branch from 18c50d0 to 5ac1603 Compare January 22, 2025 15:57
@JonasKellerer JonasKellerer force-pushed the 458-add-advanced-search-for-covid-single-variant-page-that-offers-variant-query branch from 5ac1603 to ca7d019 Compare January 22, 2025 16:02
Copy link
Contributor

@fengelniederhammer fengelniederhammer left a 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")

Comment on lines +44 to +46
<button className='text-sm hover:text-gray-500' onClick={() => removeVariant(id)}>
Remove
</button>
Copy link
Contributor

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.

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.

add "advanced search" for Covid single variant page that offers variant query
2 participants