fix(dna): multi-hop family kits and autosomal tester picker (K10/K12)#22
Merged
Conversation
List all tree Autosomal tests instead of 1-hop relatives, label each kit with relationshipCalculator, show typical cM bands, and flag K6 compare when both parties have encrypted raw indexes. Co-authored-by: Cursor <cursoragent@cursor.com>
Load tester options from listAutosomalPeopleInTree instead of the full tree, relabel Kit owner to Autosomal tester, and warn when a stored owner is not a registered tester. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The placeholder option reused the current kit-owner display name, so Helle/Pernille appeared twice. Use a neutral prompt and only inject a legacy owner option when they are not a registered tester. Co-authored-by: Cursor <cursoragent@cursor.com>
Drop the empty "Select autosomal tester" option from the dropdown when a kit owner is already linked so users cannot clear a required field. Co-authored-by: Cursor <cursoragent@cursor.com>
simonellefsen
marked this pull request as ready for review
July 5, 2026 20:52
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.
Summary
relationshipCalculator(grandparent, sibling, cousin, etc.), shows a typical shared-cM band, and flags K6 raw-kit comparison when both focus and relative have encrypted SNP indexes.listAutosomalPeopleInTree) instead of every person in the tree. Relabels "Kit owner" → "Autosomal tester" and warns when a stored owner is not a registered tester.20260705259000_k10_list_all_family_autosomal_kits.sqland pure helpers inlib/dnaFamilyKits.ts(6 unit tests).Test plan
supabase db push(or deploy migration) solist_family_autosomal_kitsreturns all Autosomal tests.npm test(457 passing on branch)Made with Cursor