-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: product analytic UI #4262
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Barecheck - Code coverage reportTotal: 69.22%Your code coverage diff: 0.17% ▴ Uncovered files and lines
|
This is the build for this pull request. You can download it from the Artifacts section here: Build URL. |
This is the build for this pull request. You can download it from the Artifacts section here: Build URL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is the build for this pull request. You can download it from the Artifacts section here: Build URL. |
ee26bdd
to
bb18f84
Compare
Describe Your Changes
Permission pop-up
Privacy setting
Integrate posthog
Initializes PostHog only on the client side (browser environment) to avoid errors during server-side rendering.
Adds a delay of 3 seconds before showing a product analytics prompt (setShowProductAnalyticPrompt(true)).
Uses a setTimeout inside the useEffect and ensures cleanup with clearTimeout:
}, [productAnalytic]);