Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
comment on feature flag behavior
Oleg Isonen053e86a1d978
diff --git a/apps/designer/app/shared/feature-flags/feature.ts b/apps/designer/app/shared/feature-flags/feature.tsindex 0385a3adff..185e07aabb 100644--- a/apps/designer/app/shared/feature-flags/feature.ts+++ b/apps/designer/app/shared/feature-flags/feature.ts@@ -28,5 +28,7 @@ export const isFeatureEnabled = (name: Name): boolean => {const defaultValue = flags[name];const envValue = parse(env.FEATURE).includes(name);const localValue = readLocal().includes(name);+ // Any source can enable feature, first `true` value will result in enabling a feature.+ // This also means you can't disable a feature if its already enabled in default value.return localValue || envValue || defaultValue;};