Repository navigation
feat(web): local-mode Google connect prompt after three events - #4501
Merged
Merged
Conversation
Fixes #4500 Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Contributor
|
Boot bundle: 509.8 KB gzip (+0.0 KB vs main) |
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.
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 sourcelocal_mode_connect_promptsosignup_startedandoauth_redirect_startedstay in the existing funnel. Prompt clicks are excluded from PostHog dead-click capture viadata-local-mode-connect-promptandph-no-rageclick.Verify
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).