Skip to content

Add the Glint Pro waitlist and usage analytics - #32

Merged
I-794 merged 1 commit into
mainfrom
claude/practical-archimedes-s2nxsa
Nov 10, 2026
Merged

I-794 merged 1 commit into
mainfrom
claude/practical-archimedes-s2nxsa

Conversation

@I-794

@I-794 I-794 commented Nov 10, 2026

Copy link
Copy Markdown
Owner

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 page gains a "Glint Pro, coming soon" card with an email form (pricing/index.html, #pro), handled by public/site.js.
  • api/_waitlist.js adds POST /api/waitlist and GET /api/waitlist-export as ops of the existing share function (vercel.json rewrites), so the deployment stays at 10 serverless functions.
  • Emails are stored in the share Blob store under 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 from SHARE_SIGNING_SECRET.
  • The join route answers the same whether or not the email was already listed. A honeypot field and a per-address throttle slow down bots.
  • Export needs Authorization: Bearer <CRON_SECRET> and returns JSON or ?format=csv.

Analytics

  • Marketing pages now load Vercel Web Analytics (no cookies) from public/site.js, skipped on localhost. Events: open_studio, waitlist_join.
  • The editor gets src/features/analytics.js: section_used once per sidebar section per visit, plus export, share_link and roll_develop. Events carry feature names and choices only.

Copy

  • "No paid tier" lines on the pricing FAQ and homepage reworded to "every tool in the studio is free and stays free"; new "What is Glint Pro?" question.
  • Privacy page lists the events and adds a waitlist section.

Checks

  • npm run check passes (lint, knip, tests including a new testWaitlistRoutes, build).
  • Pricing form (invalid email, server unreachable, success) and editor events exercised in a headless browser at desktop and phone widths.
  • Not tested: a real signup against Vercel Blob, which only runs on the deployment.

After merging

  • SHARE_SIGNING_SECRET must not change once people sign up, or the list becomes unreadable.
  • Web Analytics needs to be enabled for the project in the Vercel dashboard; custom events may need the Pro plan.

Generated by Claude Code

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
@vercel

vercel Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
glint Ready Ready Preview Nov 10, 2026 11:19pm UTC

@I-794
I-794 merged commit ffd6313 into main Nov 10, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 11e9279a Deployed Nov 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants