feat(onboarding): instrument brain onboarding analytics#1099
feat(onboarding): instrument brain onboarding analytics#1099MaheshtheDev wants to merge 3 commits into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | 2d753af | Commit Preview URL Branch Preview URL |
Jun 12 2026, 03:22 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | 2d753af | Jun 12 2026, 03:22 AM |
How to use the Graphite Merge QueueAdd the label Main to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
73ee3e8 to
6dd15f9
Compare
|
Claude finished @MaheshtheDev's task in 1m 31s —— View job Reviewing PR #1099
Overview: Instruments PostHog funnel events across the brain onboarding flow with proper ref-based guards against double-firing and cold-load handling. Previous reviewer concerns — now addressed:
Implementation review:
Issues found: None — this looks good to ship. The event structure provides complete funnel visibility: Score: 10/10 |
There was a problem hiding this comment.
Overview: Instruments PostHog funnel events across the brain onboarding flow with proper ref-based guards against double-firing.
Issues found: None — this looks good to ship.
The implementation is clean:
startedRefcorrectly prevents double-firing ofonboardingStartedin React Strict ModenavTriggerref pattern properly tracks user vs auto navigation before the state update- Error messages captured in
onboardingWorkspaceCreateFailedare safe (no PII) - Event structure provides complete funnel visibility: started → step viewed/completed → mode/workspace/sources/ingest/team → completed
Score: 10/10
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d33f791e88
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
d33f791 to
94c8d1f
Compare
Wire PostHog funnel events (started, step viewed/completed, mode, workspace, sources, ingest, team, completed) across the brain onboarding flow, and drop stale pre-brain event defs from analytics.ts.
2dd05d8 to
2b904aa
Compare
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Wire PostHog funnel events (started, step viewed/completed, mode, workspace, sources, ingest, team, completed) across the brain onboarding flow, and drop stale pre-brain event defs from analytics.ts.
Session Details
(aside)to your comment to have me ignore it.