Skip to content

Conversation

@fhennig
Copy link
Contributor

@fhennig fhennig commented Dec 18, 2025

resolves #943

Summary

Adds a new stats display that only appears on the Variant explorer. If the number of clinical sequences is below a configurable threshold, the stat is highlighted and a warning text is added to the info text below.

The threshold is set at 50 sequences for now.

Screenshot

image
Screen.Recording.2025-12-18.at.15.44.19.mov

PR Checklist

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

@vercel
Copy link

vercel bot commented Dec 18, 2025

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

Project Deployment Review Updated (UTC)
dashboards Ready Ready Preview, Comment Dec 18, 2025 2:48pm

Copy link
Collaborator

@gordonkoehn gordonkoehn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love the feature! Great idea. I think 50 sequences as a limit, and the warning makes sense. Experienced users may ignore it at will.

Went through the changes - some refactoring in there as well, I see.
Great to already see an RSV-A config there.

Looks great - can't judge the TS.

Comment on lines +194 to +196
<span className='rounded bg-yellow-200 px-1 py-0.5'>{data.toLocaleString()}</span>
) : (
data.toLocaleString()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we maybe fix the locale 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.

W-ASAP: Variant explorer: inform/warn users when they use very few sequences to define their signification mutations

4 participants