← Build log

Fri

Feature flags in Surge

Surge

Surge

Feature flags went in, backed by PostHog, with the tenant registered as a PostHog group. A flag registry with hooks and three components (FeatureGate, FlagGuard and ComingSoonOverlay) now gates the sidebar and routes, the Settings tabs, and in-page calls to action. Account detail tabs are driven by a flag-aware table.