Skip to content

feat(website): add new collections analysis mode to W-ASAP#1005

Open
fhennig wants to merge 16 commits intomainfrom
wasap-cov-collections
Open

feat(website): add new collections analysis mode to W-ASAP#1005
fhennig wants to merge 16 commits intomainfrom
wasap-cov-collections

Conversation

@fhennig
Copy link
Contributor

@fhennig fhennig commented Jan 27, 2026

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:

  • New CollectionAnalysisFilter component to be used in the WasapPageStateSelector.
  • useWasapPageData was extended to also fetch the collections. During this, the file was also refactored entirely.
  • eslint config updated, somehow it was checking node_modules and dist as well?
  • the new mode is only enabled in staging.

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

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboards Ready Ready Preview, Comment Feb 5, 2026 3:21pm

Request Review

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.

W-ASAP: cov-spectrum collections over time

1 participant