Skip to content

feat: assemblies tab filters, column defaults, and expose dropped assembly fields (#251) - #262

Merged
NoopDog merged 1 commit into
mainfrom
fran/251-assemblies
Apr 24, 2026
Merged

NoopDog merged 1 commit into
mainfrom
fran/251-assemblies

Conversation

@frano-m

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

Copy link
Copy Markdown
Collaborator

Summary

  • Exposes 8 previously-dropped CSV fields as columns: Phasing, Assembly Method, Assembly Method Version, Assembly Date, Assembly Name, Genbank Accession, Assembly FAI, Assembly GZI
  • Adds entity type fields, catalog build transform mapping, and view builders for all 8 new fields
  • Reorganizes filters into Source (Project, Contributors), Sample (Population Descriptor, Population Abbreviation, Family ID, Sample ID, Biosample Accession), and Assembly (Release, Haplotype, Phasing, Assembly Method) groups
  • Reorders all 24 columns per spec
  • Sets default visibility: 13 visible, 11 hidden
  • Rebuilds catalog output JSON with new fields (Release 2 records populated; Release 1 shows N/A as expected)

Depends on #259 (base branch: fran/247-sequencing-data)

Closes #251.

Test plan

  • Verify 13 columns visible by default on Assemblies tab
  • Verify 11 hidden columns accessible via column chooser
  • Verify Source/Sample/Assembly filter groups render correctly
  • Verify Phasing filter shows trio/hic values
  • Verify Assembly Method filter shows hifiasm etc.
  • Verify new columns display correctly for Release 2 records
  • Verify Release 1 records show N/A for new fields

🤖 Generated with Claude Code

image image image image

@frano-m
frano-m force-pushed the fran/247-sequencing-data branch from 5e28423 to 357a073 Compare April 24, 2026 01:11
@frano-m frano-m changed the title feat: assemblies tab filters, column defaults, and expose dropped assembly fields feat: assemblies tab filters, column defaults, and expose dropped assembly fields (#251) Apr 24, 2026
@frano-m
frano-m changed the base branch from fran/247-sequencing-data to main April 24, 2026 02:50
…embly fields (#251)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@frano-m
frano-m force-pushed the fran/251-assemblies branch from 9006ea1 to b5bcf40 Compare April 24, 2026 07:31
@frano-m
frano-m requested a review from Copilot April 24, 2026 07:31
@frano-m
frano-m marked this pull request as ready for review April 24, 2026 07: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

Updates the Assemblies tab to expose additional assembly-related fields, reorganize filters into Source/Sample/Assembly groups, and align column ordering/visibility with the spec for issue #251.

Changes:

  • Adds 8 new assembly fields end-to-end (catalog build → entity typing → view model builders → UI columns/filters).
  • Reorganizes Assemblies filters into Source / Sample / Assembly groups and adds new Assembly filters (Phasing, Assembly Method).
  • Reorders all Assemblies columns and sets default visibility to 13 shown / 11 hidden.

Reviewed changes

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

Show a summary per file
File Description
site-config/hprc-data-explorer/local/index/assemblyEntityConfig.ts Reworks filter groups and defines the new/reordered columns with updated default column visibility.
site-config/hprc-data-explorer/category.ts Adds category keys and labels for the newly exposed assembly fields.
catalog/build/ts/build-catalog.ts Maps new assemblies CSV fields into the generated assemblies.json output.
app/viewModelBuilders/catalog/hprc-data-explorer/common/viewModelBuilders.ts Adds cell view builders for the new assembly fields used by the Assemblies table.
app/apis/catalog/hprc-data-explorer/common/entities.ts Extends HPRCDataExplorerAssembly with the 8 new assembly fields (with absent-value support).

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

@NoopDog
NoopDog merged commit 9977728 into main Apr 24, 2026
6 checks passed
@NoopDog
NoopDog deleted the fran/251-assemblies branch April 24, 2026 15:07
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.

Assemblies tab: filters, column defaults, and expose dropped assembly fields

3 participants