Repository navigation
Invite links: track which URL each waitlist signup came through, with an admin dashboard - #96
Merged
Merged
Conversation
Admins can create a trackable link per school, post or partner (edvifi.ai/home?ref=<slug>#waitlist) from Settings, and see each link's funnel: visits, waitlist signups, conversion, invited, signed in and onboarded. Signups with no ref and stray refs nobody created get rows of their own, and a stray ref can be adopted as a real link. - Migration: invite_links table (admin-only RLS), waitlist.ref column (shape-checked, no FK so a bad link never fails a signup), anon record_invite_visit RPC, admin-only get_invite_link_stats RPC - Waitlist form reads ?ref=, remembers it in the browser, counts one visit per browser per link - invite.mjs --ref=<slug> sends a wave to one link's signups - docs/waitlist.md covers setup and what each number means Links are labels for counting only; they grant no access. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018go6C4tyK3k5ujd1Mc3aCP
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying timeline-prototype with
|
| Latest commit: |
730c61a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://69f64159.timeline-prototype.pages.dev |
| Branch Preview URL: | https://claude-busy-fermi-pf8aq2.timeline-prototype.pages.dev |
This branch was successfully deployed
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.
What this does
Admins can make a trackable link per place the waitlist gets shared and see how far each one's signups get: visited → joined the waitlist → invited → signed in → onboarded.
https://edvifi.ai/?ref=<slug>#waitlist. A link only labels where a signup came from; it grants no access. Accounts are still invite-only.public.app_admins. It shows the funnel in total, per platform (taken from the link name before the colon, e.g. "Reddit: r/FAFSA") and per link, plus create, copy, archive and restore.20261119000000_invite_links, already applied to production): theinvite_linkstable (admin-only RLS, no delete), a shape-checkedwaitlist.refcolumn,record_invite_visit(anon-callable, bumps a visit counter) andget_invite_link_stats(admin-only, returns nothing to anyone else). anon still has no select, update or delete onwaitlist.scripts/invite/invite.mjs --ref=<slug>invites one link's signups as a wave.Not in this PR
The form that records the ref lives in Edvifi/landing (
feature/invite-link-refs). Until that ships, every signup lands in the "No link" row.Checks
tsc -b,eslint .,npm run buildclean;vitest run762/762.