Closed Phanatic closed 3 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
posthog-js | ✅ Ready (Inspect) | Visit Preview | Nov 22, 2024 5:02pm |
Size Change: +2.81 kB (+0.09%)
Total Size: 3.14 MB
Filename | Size | Change |
---|---|---|
dist/array.full.es5.js |
255 kB | +312 B (+0.12%) |
dist/array.full.js |
358 kB | +278 B (+0.08%) |
dist/array.full.no-external.js |
357 kB | +278 B (+0.08%) |
dist/array.js |
172 kB | +278 B (+0.16%) |
dist/array.no-external.js |
171 kB | +278 B (+0.16%) |
dist/main.js |
173 kB | +278 B (+0.16%) |
dist/module.full.js |
358 kB | +278 B (+0.08%) |
dist/module.full.no-external.js |
357 kB | +278 B (+0.08%) |
dist/module.js |
172 kB | +278 B (+0.16%) |
dist/module.no-external.js |
171 kB | +278 B (+0.16%) |
Changes
As part of adaptive survey collection, we introduced a new feature flag that the surveys component should use to filter out surveys to be shown to people. The common pattern has become :
getActiveMatchingSurveys
Instead, this PR now uses the
feature_flag_keys
array to find the names of the feature flags to check in the survey component. With this change, one can just add a new flag to thefeature_flag_keys
in the Surveys API in posthog.com and the survey component will automatically pick it up.Checklist