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.

feat(tasks): add Tasks nav item under Tools (#71870)

Andrew Maguire6197596e1bf5
diff --git a/frontend/src/products.json b/frontend/src/products.json
index 0de5b8a5a7b4..e3029d96ac7e 100644
--- a/frontend/src/products.json
+++ b/frontend/src/products.json
@@ -184,6 +184,7 @@
"type": null,
"intents": ["metrics"]
},
+ { "path": "Tasks", "category": "Tools", "iconType": "task", "type": "task", "intents": ["tasks"] },
{
"path": "Product analytics",
"category": "Analytics",
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index 8bed8b458e3a..c163788573f7 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -2203,6 +2203,19 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
'AIObservabilityCluster',
],
},
+ {
+ path: 'Tasks',
+ intents: [ProductKey.TASKS],
+ category: ProductItemCategory.TOOLS,
+ type: 'task',
+ iconType: 'task',
+ iconColor: ['var(--product-tasks-light)', 'var(--product-tasks-dark)'] as FileSystemIconColor,
+ href: urls.taskTracker(),
+ sceneKey: 'TaskTracker',
+ flag: FEATURE_FLAGS.TASKS,
+ pinnedByDefault: true,
+ sceneKeys: ['TaskTracker'],
+ },
{
path: 'Toolbar',
intents: [ProductKey.TOOLBAR],
diff --git a/products/posthog_ai/manifest.tsx b/products/posthog_ai/manifest.tsx
index a8021dac9431..669c2125177e 100644
--- a/products/posthog_ai/manifest.tsx
+++ b/products/posthog_ai/manifest.tsx
@@ -1,7 +1,9 @@
import { FEATURE_FLAGS } from 'lib/constants'
import { urls } from 'scenes/urls'
-import { ProductManifest } from '../../frontend/src/types'
+import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
+
+import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'PostHog AI',
@@ -40,5 +42,20 @@ export const manifest: ProductManifest = {
},
},
treeItemsNew: [],
- treeItemsProducts: [],
+ treeItemsProducts: [
+ {
+ path: 'Tasks',
+ intents: [ProductKey.TASKS],
+ category: ProductItemCategory.TOOLS,
+ type: 'task',
+ iconType: 'task',
+ iconColor: ['var(--product-tasks-light)', 'var(--product-tasks-dark)'] as FileSystemIconColor,
+ href: urls.taskTracker(),
+ sceneKey: 'TaskTracker',
+ flag: FEATURE_FLAGS.TASKS,
+ // Auto-pin into the Tools sidebar for anyone with the flag, so tasks
+ // reached via the Inbox "discuss" flow are findable without typing /tasks.
+ pinnedByDefault: true,
+ },
+ ],
}