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(product-tours): hide new-tour create action when flag is off (#87149)

posthog[bot]a331e8cd3f6f
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index 3ee08404c63b..47ff8ec6703d 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -1810,6 +1810,7 @@ export const getTreeItemsNew = (): FileSystemImport[] => [
'var(--color-product-product-tours-light)',
'var(--color-product-product-tours-dark)',
] as FileSystemIconColor,
+ flag: FEATURE_FLAGS.PRODUCT_TOURS,
},
{
path: `Survey`,
diff --git a/products/product_tours/manifest.tsx b/products/product_tours/manifest.tsx
index 585218a0ab4a..2c0eb93e32ec 100644
--- a/products/product_tours/manifest.tsx
+++ b/products/product_tours/manifest.tsx
@@ -29,6 +29,7 @@ export const manifest: ProductManifest = {
'var(--color-product-product-tours-light)',
'var(--color-product-product-tours-dark)',
] as FileSystemIconColor,
+ flag: FEATURE_FLAGS.PRODUCT_TOURS,
},
],
treeItemsProducts: [