web/src/features/feature-flags/README.md
Configure feature flags in the available-flags.ts file.
Use the useIsFeatureEnabled hook to check if a feature flag is enabled.
const isFeatureEnabled = useIsFeatureEnabled("feature-flag-name");
When is a feature flag enabled?
LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES is setfeature_flags contains the flaguser.admin is true for consumers that keep the admin bypass enabledUser-controlled previews may pass { enableForAdmins: false } so an
administrator can opt in or out like any other user. The deployment-wide
LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES override still forces flags on.
Organization defaults are evaluated only for the active project or
organization. They are never copied into users and never unioned across all of
a user's memberships. A feature-preview:<flag>:disabled entry in
users.feature_flags is a global opt-out and wins over every organization
default.