feat(website): add new collections analysis mode to W-ASAP#1005
Open
feat(website): add new collections analysis mode to W-ASAP#1005
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
443c9c3 to
f9c0b8a
Compare
67e6782 to
a95c44e
Compare
a95c44e to
2e14d1c
Compare
13ad73f to
0789522
Compare
0789522 to
708472a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #1006
Summary
Add a new 'Collection' analysis mode, where you can select a cov-spectrum collection to analyze, meaning you can see the prevalence of the defined variants over time.
Specific changes:
CollectionAnalysisFiltercomponent to be used in theWasapPageStateSelector.useWasapPageDatawas extended to also fetch the collections. During this, the file was also refactored entirely.Screenshot
Screen.Recording.2026-02-05.at.10.09.52.mov
Follow-ups
The generation of the coverage queries still needs to be implemented: #1026 (there is a TODO in the code)
I left some of the refactoring for later, as it's not urgent and I didn't want to put too much into this PR: #1025
Another follow-up: We want to implement a filter for the collections that are shown: #1027
Useful links
https://github.com/GenSpectrum/cov-spectrum-server/blob/develop/docs/api.md
PR Checklist