Skip to content

feat(web): local-mode Google connect prompt after three events - #4501

Merged
tyler-dane merged 1 commit into
mainfrom
cursor/local-mode-connect-prompt-60ea
Oct 16, 2026
Merged

tyler-dane merged 1 commit into
mainfrom
cursor/local-mode-connect-prompt-60ea

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

Fixes #4500
Fixes #4087

What and why

Anonymous local-mode users already get a third-write save toast (trial copy, opens sign-up) and a signed-in-only connect-calendar overlay. WP-03 (#4090) called for an anonymous connect nudge that was never wired. This adds a single dismissible bottom card after 3 anonymous calendar writes (same constant as the toast) with Google-focused copy, OAuth signup handoff, and flat funnel events connect_prompt_shown / connect_prompt_clicked / connect_prompt_dismissed (events_created_count, provider=google). Clicks use signup source local_mode_connect_prompt so signup_started and oauth_redirect_started stay in the existing funnel. Prompt clicks are excluded from PostHog dead-click capture via data-local-mode-connect-prompt and ph-no-rageclick.

Verify

VERDICT: PASS

Checks: bun test:web, bun test:e2e, bun test:a11y, bun run type-check, bun lint, bun knip. Boot gzip on production-shaped build: +2.4 KB (under the 5 KB PR gate).

Local-mode connect prompt

Open in Web Open in Cursor 

Fixes #4500

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Boot bundle: 509.8 KB gzip (+0.0 KB vs main)

@tyler-dane
tyler-dane marked this pull request as ready for review October 16, 2026 15:09
@tyler-dane
tyler-dane added this pull request to the merge queue Oct 16, 2026
Merged via the queue into main with commit 212092f Oct 16, 2026
26 checks passed
@tyler-dane
tyler-dane deleted the cursor/local-mode-connect-prompt-60ea branch October 16, 2026 15:18
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.

[agent] web: local-mode connect Google prompt after 3 events [tracking] Trial v2: card-required trial at signup, anonymous-first onboarding

2 participants