Skip to content

feat: annotations tab filters, column defaults, expose assembly_name (#252) - #265

Merged
NoopDog merged 1 commit into
mainfrom
fran/252-annotations
Apr 25, 2026
Merged

NoopDog merged 1 commit into
mainfrom
fran/252-annotations

Conversation

@frano-m

@frano-m frano-m commented Apr 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Exposes assembly_name from the annotations CSV as a new column (hidden by default)
  • Adds assemblyName to HPRCDataExplorerAnnotation entity type and catalog build transform
  • Widens buildAssemblyName view builder to accept both Assembly and Annotation entities
  • Reorganizes filters into Source (Project, Contributors), Sample (Population Descriptor, Population Abbreviation, Family ID, Sample ID, Biosample Accession), and Annotation (Release, Annotation Type, Haplotype) groups
  • Reorders all 15 columns per spec
  • Updates default visibility: 11 visible, 4 hidden (Assembly Name, Family ID, File Location, Population Abbreviation)
  • Rebuilds catalog output JSON with assemblyName field

Depends on #263 (base branch: fran/254-alignments)
Closes #252

Test plan

  • Verify 11 columns visible by default on Annotations tab
  • Verify 4 hidden columns accessible via column chooser
  • Verify Source/Sample/Annotation filter groups render correctly
  • Verify new Sample-group filters work
  • Verify Assembly Name column shows values for Release 2 records

🤖 Generated with Claude Code

image image image image

@frano-m
frano-m requested a review from Copilot April 25, 2026 01:29
@frano-m
frano-m marked this pull request as ready for review April 25, 2026 01:30
@frano-m
frano-m changed the base branch from fran/254-alignments to main April 25, 2026 01:31
…252)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@frano-m
frano-m force-pushed the fran/252-annotations branch from 5f4999b to bc7ba07 Compare April 25, 2026 01:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds an assembly_name field to annotations and updates the Annotations tab UI to support new column defaults and reorganized filter groupings.

Changes:

  • Expose assemblyName on HPRCDataExplorerAnnotation and include it in the catalog build output.
  • Update the Annotations tab to include “Assembly Name” as a (hidden-by-default) column and reorder columns per spec.
  • Reorganize annotation filters into “Source”, “Sample”, and “Annotation” groups.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

File Description
site-config/hprc-data-explorer/local/index/annotationEntityConfig.ts Re-groups filters and reorders/updates column configs + default visibility (incl. new Assembly Name column).
catalog/build/ts/build-catalog.ts Adds assemblyName to the annotations transform output from CSV rows.
app/viewModelBuilders/catalog/hprc-data-explorer/common/viewModelBuilders.ts Broadens buildAssemblyName to support both Assembly and Annotation entities.
app/apis/catalog/hprc-data-explorer/common/entities.ts Adds assemblyName to the HPRCDataExplorerAnnotation entity type.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NoopDog
NoopDog merged commit 995069a into main Apr 25, 2026
2 checks passed
@NoopDog
NoopDog deleted the fran/252-annotations branch April 25, 2026 01:58
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.

Annotations tab: filters, column defaults, expose assembly_name

3 participants