Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(flags): Removing old feature flag from projects tab already being rolled out (#63025)

ruby childs301c33c4c85f
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsx
index baf75456c2e1..17c2d988c104 100644
--- a/frontend/src/lib/constants.tsx
+++ b/frontend/src/lib/constants.tsx
@@ -303,7 +303,6 @@ export const FEATURE_FLAGS = {
FEATURE_FLAG_MIXED_TARGETING: 'feature-flag-mixed-targeting', // owner: @dmarticus #team-feature-flags
FEATURE_FLAG_NOTIFICATIONS: 'feature-flag-notifications', // owner: @reecejones #team-platform-features
FEATURE_FLAG_USAGE_DASHBOARD_CHECKBOX: 'feature-flag-usage-dashboard-checkbox', // owner: #team-feature-flags, globally disabled, enables opt-out of auto dashboard creation
- FEATURE_FLAGS_ACROSS_PROJECTS_INDEX: 'feature-flags-across-projects-index', // owner: #team-platform-features
FIELD_NOTES: 'field-notes', // owner: @adamleith
FLAG_EVALUATION_RUNTIMES: 'flag-evaluation-runtimes', // owner: @dmarticus #team-feature-flags
FLAG_EVALUATION_TAGS: 'flag-evaluation-tags', // owner: @dmarticus #team-feature-flags
diff --git a/frontend/src/scenes/feature-flags/FeatureFlags.tsx b/frontend/src/scenes/feature-flags/FeatureFlags.tsx
index bda13a186d69..d7a20c06ead1 100644
--- a/frontend/src/scenes/feature-flags/FeatureFlags.tsx
+++ b/frontend/src/scenes/feature-flags/FeatureFlags.tsx
@@ -711,7 +711,6 @@ export function FeatureFlags(): JSX.Element {
const { featureFlags: enabledFeatureFlags } = useValues(enabledFeaturesLogic)
const newFeatureFlagUrl = urls.featureFlagTemplates()
const showNotificationsTab = !!enabledFeatureFlags[FEATURE_FLAGS.FEATURE_FLAG_NOTIFICATIONS]
- const showProjectsTab = !!enabledFeatureFlags[FEATURE_FLAGS.FEATURE_FLAGS_ACROSS_PROJECTS_INDEX]
return (
<SceneContent className="feature_flags">
@@ -767,15 +766,11 @@ export function FeatureFlags(): JSX.Element {
label: 'Overview',
content: <OverviewTab />,
},
- ...(showProjectsTab
- ? [
- {
- key: FeatureFlagsTab.PROJECTS,
- label: 'Projects',
- content: <ProjectsGrid />,
- },
- ]
- : []),
+ {
+ key: FeatureFlagsTab.PROJECTS,
+ label: 'Projects',
+ content: <ProjectsGrid />,
+ },
{
key: FeatureFlagsTab.HISTORY,
label: 'History',