Skip to content

PostHog Feature Flag Fix#201

Merged
LZylstra merged 3 commits intomainfrom
connor/fix-posthog-feature-flags
Sep 8, 2025
Merged

PostHog Feature Flag Fix#201
LZylstra merged 3 commits intomainfrom
connor/fix-posthog-feature-flags

Conversation

@connorwinston
Copy link
Member

This pull request makes a small update to the usePostHogFeatureFlag composable. It updates the getFeatureFlag function to call $posthog.getFeatureFlag(feature) if the client is available, to ensure the $feature_flag_called event is sent to posthog.

@netlify
Copy link

netlify bot commented Sep 8, 2025

Deploy Preview for directus-website ready!

Name Link
🔨 Latest commit 73d77f4
🔍 Latest deploy log https://app.netlify.com/projects/directus-website/deploys/68beff486a28cc000867b191
😎 Deploy Preview https://deploy-preview-201--directus-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@LZylstra LZylstra self-requested a review September 8, 2025 16:02
@LZylstra LZylstra merged commit 62cc059 into main Sep 8, 2025
6 checks passed
@LZylstra LZylstra deleted the connor/fix-posthog-feature-flags branch September 8, 2025 18: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.

2 participants