Repository navigation
Add the Glint Pro waitlist and usage analytics - #32
Merged
Merged
Conversation
Pricing page gains a Glint Pro (coming soon) card with an email waitlist. Emails are stored encrypted in the share Blob store through two new ops of the one share function (/api/waitlist, /api/waitlist-export). Marketing pages now load Vercel Web Analytics, and the editor records which sidebar sections, exports and share links get used. Privacy page and pricing copy updated to match. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016tciSRcwDsHcLgxbSDvQgC
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Groundwork for a paid plan (Glint Pro). Not a versioned release: no version bump, no changelog entry. The studio stays free and the copy still says so.
Waitlist
pricing/index.html,#pro), handled bypublic/site.js.api/_waitlist.jsaddsPOST /api/waitlistandGET /api/waitlist-exportas ops of the existing share function (vercel.jsonrewrites), so the deployment stays at 10 serverless functions.waitlist/. That store is public, so the file name is an HMAC of the email (which also de-duplicates) and the body is AES-256-GCM encrypted, both keyed fromSHARE_SIGNING_SECRET.Authorization: Bearer <CRON_SECRET>and returns JSON or?format=csv.Analytics
public/site.js, skipped on localhost. Events:open_studio,waitlist_join.src/features/analytics.js:section_usedonce per sidebar section per visit, plusexport,share_linkandroll_develop. Events carry feature names and choices only.Copy
Checks
npm run checkpasses (lint, knip, tests including a newtestWaitlistRoutes, build).After merging
SHARE_SIGNING_SECRETmust not change once people sign up, or the list becomes unreadable.Generated by Claude Code