Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.