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(managed-migrations): surface in nav tree and cmd+k search (#68540)

Luke Beltonf9a9278d7702
diff --git a/frontend/src/products.json b/frontend/src/products.json
index 037d2983c409..05990ff4d861 100644
--- a/frontend/src/products.json
+++ b/frontend/src/products.json
@@ -311,6 +311,13 @@
"intents": []
},
{ "path": "Endpoints", "category": "Tools", "iconType": null, "type": null, "intents": [] },
+ {
+ "path": "Managed migrations",
+ "category": "Pipeline",
+ "iconType": "data_pipeline_metadata",
+ "type": null,
+ "intents": []
+ },
{
"path": "Event definitions",
"category": "Schema",
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index b05262f8fa7f..5fe35028da1f 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -766,7 +766,11 @@ export const productConfiguration: Record<string, any> = {
activityScope: ActivityScope.LOG,
layout: 'app-container',
},
- ManagedMigration: { name: 'Managed migrations', projectBased: true },
+ ManagedMigration: {
+ name: 'Managed migrations',
+ description: 'Managed migrations provide an automated way to migrate your historical data into PostHog.',
+ projectBased: true,
+ },
ManagedMigrationNew: { name: 'Managed migrations', projectBased: true },
MCPAnalytics: {
projectBased: true,
@@ -2405,6 +2409,14 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
sceneKey: 'IngestionWarnings',
sceneKeys: ['IngestionWarnings'],
},
+ {
+ path: 'Managed migrations',
+ category: 'Pipeline',
+ iconType: 'data_pipeline_metadata',
+ href: urls.managedMigration(),
+ sceneKey: 'ManagedMigration',
+ sceneKeys: ['ManagedMigration', 'ManagedMigrationNew'],
+ },
{
path: 'Managed viewsets',
category: 'Unreleased',
diff --git a/products/managed_migrations/frontend/ManagedMigration.tsx b/products/managed_migrations/frontend/ManagedMigration.tsx
index 2ea567a0d88b..833a5bc795af 100644
--- a/products/managed_migrations/frontend/ManagedMigration.tsx
+++ b/products/managed_migrations/frontend/ManagedMigration.tsx
@@ -15,7 +15,8 @@ import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { LemonProgress } from 'lib/lemon-ui/LemonProgress'
import { LemonSelect } from 'lib/lemon-ui/LemonSelect'
import { ProfilePicture } from 'lib/lemon-ui/ProfilePicture'
-import { SceneExport } from 'scenes/sceneTypes'
+import { sceneConfigurations } from 'scenes/scenes'
+import { Scene, SceneExport } from 'scenes/sceneTypes'
import { urls } from 'scenes/urls'
import { SceneContent } from '~/layout/scenes/components/SceneContent'
@@ -308,6 +309,7 @@ export function ManagedMigrations(): JSX.Element {
<>
<SceneTitleSection
name="Managed migrations"
+ description={sceneConfigurations[Scene.ManagedMigration].description}
resourceType={{
type: 'managed_migration',
forceIcon: <IconSort />,
diff --git a/products/managed_migrations/manifest.tsx b/products/managed_migrations/manifest.tsx
index 26f18c5b94b3..002753412931 100644
--- a/products/managed_migrations/manifest.tsx
+++ b/products/managed_migrations/manifest.tsx
@@ -1,3 +1,5 @@
+import { urls } from 'scenes/urls'
+
import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
@@ -6,6 +8,7 @@ export const manifest: ProductManifest = {
ManagedMigration: {
import: () => import('./frontend/ManagedMigration'),
name: 'Managed migrations',
+ description: 'Managed migrations provide an automated way to migrate your historical data into PostHog.',
projectBased: true,
},
ManagedMigrationNew: {
@@ -22,4 +25,14 @@ export const manifest: ProductManifest = {
managedMigration: (): string => '/managed_migrations',
managedMigrationNew: (): string => '/managed_migrations/new',
},
+ treeItemsMetadata: [
+ {
+ path: 'Managed migrations',
+ category: 'Pipeline',
+ iconType: 'data_pipeline_metadata',
+ href: urls.managedMigration(),
+ sceneKey: 'ManagedMigration',
+ sceneKeys: ['ManagedMigration', 'ManagedMigrationNew'],
+ },
+ ],
}