Skip to content

Conversation

@JamesKane
Copy link
Owner

No description provided.

- Add `provenance` column (JSONB) to `haplogroup` table for multi-source attribution; include GIN index for efficient querying.
- Introduce `HaplogroupProvenance` domain model for tracking credits and merge info.
- Implement `HaplogroupTreeMergeController` with endpoints for tree merges, subtree merges, and previews.
- Add unit tests for provenance behavior and controller logic.
- Enhance schema evolution with rollback support for `provenance` column.
…e logic

- Introduce `VariantInput` model with support for primary names and aliases.
- Update `PhyloNodeInput` and related JSON (de)serialization logic to handle variants with aliases.
- Extend `HaplogroupTreeMergeService` to handle alias associations and provenance updates.
- Add new repository (`VariantAliasRepository`) for managing variant aliases.
- Enhance unit tests for variant aliases in tree merge functionality.
… handling**

- Updated `addVariantToHaplogroup` to use `ON CONFLICT DO NOTHING` for conflict-free inserts.
- Enhanced JSONB mappers to handle `null` uniformly and streamlined `HaplogroupProvenance` mapping logic.
- Replace "Confidence" column with "Provenance" in haplogroup list view.
- Add badges for primary credit and contributors in list and detail views.
- Extend detail panel with comprehensive provenance details, including contributors, last merge info, and variant sources.
- Introduced `findHaplogroupWithVariants` in `HaplogroupTreeService` to retrieve haplogroup details with associated variants and provenance.
- Updated `TreeController` to use the new method for populating additional provenance data in the SNP detail sidebar.
- Enhanced `snpDetailSidebar.scala.html` to display haplogroup provenance along with styling updates.
- Added utility method `formatSourceName` for consistent provenance source formatting.
@JamesKane JamesKane merged commit fec7079 into main Dec 13, 2025
1 check failed
@JamesKane JamesKane deleted the feature/tree-merging branch December 13, 2025 10:41
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.

2 participants