Skip to content

Enhance ScoreSetHistogram tooltip and relationship handling#660

Open
bencap wants to merge 3 commits intorelease-2026.2.1from
bugfix/bencap/659/incorrect-class-in-tooltip
Open

Enhance ScoreSetHistogram tooltip and relationship handling#660
bencap wants to merge 3 commits intorelease-2026.2.1from
bugfix/bencap/659/incorrect-class-in-tooltip

Conversation

@bencap
Copy link
Copy Markdown
Collaborator

@bencap bencap commented Apr 14, 2026

This pull request fixes a bug in how score range labels were displayed in tooltips within the ScoreSetHistogram.vue component in addition to expanding this logic for class based calibrations, along with related code cleanup and enhancements.

Variant classification badge rendering:

  • Fixed a bug that was causing the incorrect functional class label to be shown for variants which were within a histogram bin that was not fully contained within a functional classification range.
  • Improved the logic for displaying classification badges in variant tooltips by matching variants to classifications using both range-based and class-based lookups, and applying the correct color via getClassificationColor (src/components/score-set/ScoreSetHistogram.vue).

UI and UX improvements:

  • Added a text-link class to the ClinVar link for better styling and ensured the score is not 'NA' before rendering.
  • Adjusted the condition in conditionallyLoadCalibrationClassVariants to only check for class-based calibrations, simplifying the logic.

bencap added 3 commits April 14, 2026 15:26
…actively

We previously loaded relationships lazily once a calibration with classes was the active calibration. This change ensures relationships are loaded proactively, allowing other methods to make use of computed maps immediately.
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.

Histogram tooltip shows incorrect functional classification for variants near classification boundaries

1 participant