-
Notifications
You must be signed in to change notification settings - Fork 559
[Dashboard] Feature: Adds PostHog tracking to bridge page #7232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…onent - Added `PHProvider` and `PostHogPageView` to the `Providers` component for improved user behavior tracking. - Wrapped children and `Toaster` component within `PHProvider` to ensure analytics are captured across the application.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via 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. |
WalkthroughThe Providers components in both the client and pay sections of the dashboard app were updated to include PostHog analytics. This was achieved by wrapping their children and the Toaster component within a new PHProvider and adding a PostHogPageView component, integrating analytics context and page view tracking into the provider hierarchy. Changes
Sequence Diagram(s)sequenceDiagram
participant App
participant Providers
participant PHProvider
participant PostHogPageView
participant Toaster
participant Children
App ->> Providers: Render
Providers ->> PHProvider: Wrap children
PHProvider ->> PostHogPageView: Render for analytics tracking
PHProvider ->> Children: Render original children
PHProvider ->> Toaster: Render Toaster component
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code Graph Analysis (2)apps/dashboard/src/app/pay/components/client/Providers.client.tsx (1)
apps/dashboard/src/app/bridge/components/client/Providers.client.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (4)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7232 +/- ##
=======================================
Coverage 55.62% 55.62%
=======================================
Files 908 908
Lines 58575 58575
Branches 4132 4132
=======================================
Hits 32582 32582
Misses 25886 25886
Partials 107 107
🚀 New features to boost your workflow:
|
size-limit report 📦
|
PR-Codex overview
This PR introduces the integration of the
PHProvider
andPostHogPageView
components into theProviders
component of two files, enhancing analytics tracking within the application.Detailed summary
PHProvider
andPostHogPageView
in bothProviders.client.tsx
files.children
andToaster
components withPHProvider
.PostHogPageView
component insidePHProvider
.Summary by CodeRabbit