Feature Flag Management

Feature Flags

Navigate to Settings → Plans & Billing → Feature Flags to control which features are available across different plan tiers. This is the master switch for the entire product's feature gating system.

Feature Flag Properties

FieldPurpose
NameInternal feature name used in code (e.g. "automation_engine", "female_insights")
DescriptionInternal description for platform team reference
CategoryGrouping for the feature comparison table (e.g. "Core", "Engagement", "Advanced")
IconSearchable Lucide icon for visual identification on public pages
Plan Tier AvailabilityCheckboxes for T1, T2, T3 — which tiers include this feature
Public DescriptionMarketing text shown on the public pricing/comparison page
Hide from Public WebsiteToggle to keep internal/beta features off the public feature list
Display OnlyBypasses all gating logic — the feature is always visible regardless of plan. Use for features that should be universally accessible.

Feature Access Hierarchy

Access is resolved in this strict order:

  1. Gym-level Override — If set, always wins (see Feature Overrides per Gym)
  2. Plan Features — Features included in the gym's subscription tier
  3. Global Defaults — The base configuration from feature flags

This hierarchy is enforced via the useGymFeatureAccess hook throughout the entire gym-facing codebase.

Creating a New Feature Flag

  1. Click + Add Feature
  2. Enter name, description, and category
  3. Select which plan tiers should include this feature
  4. Add a public description if it should appear on the pricing page
  5. Set "Hide from Public Website" if this is an internal or beta feature
  6. Save — the feature is immediately gated across all gyms

Category Management

Feature categories organise the public comparison table. Categories support:

Common Workflows