You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Better handle multivariate flags on sync_feature_flags
We now create the feature flags from `contants.tsx` respecting the multivariate flags
and also accepting options (for example what multivariate flags we should use)
// NOTE: Run `dev:sync-flags` locally to sync these flags into your local project
150
150
// or if you're running flox + mprocs you can also run the `sync-feature-flags` process
151
+
//
152
+
// If this is a multivariate flag, please add the `multivariate=true` tag at the end of your comment
153
+
// if you want the script to properly create a multivariate flag. You can also specify the different
154
+
// variant keys separated by commas, e.g. `multivariate=control,test,something_else`
151
155
exportconstFEATURE_FLAGS={
152
156
// Eternal feature flags, shouldn't be removed, helpful for debugging/maintenance reasons
153
157
BILLING_FORECASTING_ISSUES: 'billing-forecasting-issues',// owner: #team-billing, see `Billing.tsx`, used to raise a warning when billing is having problems
f"Created feature flag '{flag} for project {project.id}{' - '+project.nameifproject.nameelse''}"
103
+
f"Created feature flag '{flag} for team {team.id}{' - '+team.nameifteam.nameelse''}{f' (multivariate: {', '.join(flag_type)})'ifisinstance(flag_type, list)else''}"
0 commit comments