: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(growth): route every product push change to growth review (#119858)
Rafael Audibert2b74f3b5a71c
diff --git a/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx b/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsxindex b4ca9f6da35e..ad66c42a3466 100644--- a/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx+++ b/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx@@ -12,6 +12,8 @@ import { NavPanelBroadcastAd } from './NavPanelBroadcastAd'import { NavPanelProductPushAd } from './NavPanelProductPushAd'import { navPanelProductPushLogic } from './navPanelProductPushLogic'+// Growth owns this sidebar promotion slot and every card in it. Other teams must not add cards to the slot+// or change which card wins it. Ask #team-growth to run a promotion for your product instead.export function NavPanelAdvertisement(): JSX.Element | null {const { activeCampaign } = useValues(navPanelProductPushLogic)const { isLayoutNavCollapsed } = useValues(panelLayoutLogic)diff --git a/frontend/src/lib/components/owners.yaml b/frontend/src/lib/components/owners.yamlindex 8f1f6ee37a40..12f97bf74af5 100644--- a/frontend/src/lib/components/owners.yaml+++ b/frontend/src/lib/components/owners.yaml@@ -7,8 +7,10 @@ rules:owners: team-web-analytics- match: '/MarkdownNotebook/'owners: team-data-tools+ # Growth runs the sidebar promotion slot, so every change to it goes to Growth, however small.- match: '/NavPanelAdvertisement/'owners: team-growth+ sensitive: true- match: '/ProductEmptyState/'owners: team-growth- match: '/ReverseProxyChecker/'diff --git a/products/growth/backend/product_push/owners.yaml b/products/growth/backend/product_push/owners.yamlnew file mode 100644index 000000000000..19efbfbc3525--- /dev/null+++ b/products/growth/backend/product_push/owners.yaml@@ -0,0 +1,4 @@+version: 1+owners: team-growth+# Growth decides which products the sidebar promotion card pushes, so every change here goes to Growth, however small.+sensitive: truediff --git a/products/growth/backend/product_push/selection.py b/products/growth/backend/product_push/selection.pyindex ee662a428ed8..5ef9ad5f2e9a 100644--- a/products/growth/backend/product_push/selection.py+++ b/products/growth/backend/product_push/selection.py@@ -12,6 +12,10 @@ Usage granularity is per project: ProductIntent rows are project-scoped"using" a product when a majority of its projects do. A product adopted by aminority of projects still gets pushed to the rest of the org — the promo cardis hidden in the projects that already use it (see the API's team_id handling).++Growth owns the product push program, including both product lists below. Other+teams must not add, remove, or reorder products here. Ask #team-growth to run a+push for your product instead."""from collections import defaultdict