:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
paths: - 'frontend/src//.stories.tsx' - 'products//frontend//*.stories.tsx'
If this story renders a component gated on a feature flag, set the flag via the
featureFlags story parameter — not by calling featureFlagLogic.setFeatureFlags
imperatively (that is silently dropped in the visual-regression runtime). For a
multivariate flag use the record form, e.g.
parameters: { featureFlags: { [FEATURE_FLAGS.MY_FLAG]: 'test_b' } }.
Invoke the /working-with-storybook skill and read the feature flags section of common/storybook/docs/writing-stories.md before making changes.