Add Quick Previews for New Users#51
Merged
Merged
Conversation
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.
Redesigns the landing page experience and adds a quick DNA preview flow so users get meaningful results immediately after uploading a file, without waiting for a full catalog analysis.
Changes
Quick preview flow
lib/preview-insights.ts: new module that selects high-signal "aha" results from a batch of matches using effect size and evidence quality.lib/evidence-labels.ts: shared labels and helpers for GWAS evidence tiers used across result display.Landing page redesign
app/landing-client.tsx: restructured layout with a clearer call-to-action panel; buttons adapt based on upload state and preview status (upload, run preview, explore results, run full analysis, or try sample data).app/globals.css: new landing-specific CSS classes for the intro section, proof bar, explainer, and start panel.New raw DNA guide page
app/raw-dna-guide/page.tsx: static informational page explaining how to export raw DNA files from 23andMe, AncestryDNA, MyHeritage, FTDNA, and LivingDNA.Analytics
lib/analytics.ts: new tracking events for the preview funnel (trackQuickPreviewStarted,trackQuickPreviewCompleted,trackQuickPreviewFailed,trackFirstResultViewed,trackGetStartedClicked,trackProviderGuideClicked,trackSampleDataStarted,trackSampleDataLoaded,trackSampleDataFailed).