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(search): tune cmd+k product keywords and remove colliding ones (#128019)

Shy Alter3cfd2e514243
diff --git a/frontend/src/lib/components/Search/searchListItems.tsx b/frontend/src/lib/components/Search/searchListItems.tsx
index 6ea71dbb13a3..8134020e0947 100644
--- a/frontend/src/lib/components/Search/searchListItems.tsx
+++ b/frontend/src/lib/components/Search/searchListItems.tsx
@@ -40,7 +40,7 @@ interface FixedSearchItem extends SearchItem {
}
const CATEGORY_SEARCH_KEYWORDS: Record<string, string[]> = {
- CDP: ['data pipelines', 'data pipeline', 'pipeline'],
+ CDP: ['data pipelines', 'data pipeline', 'pipeline', 'cdp'],
}
const fixedItem = (
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index 45b547103e61..1efa5bab6138 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -2487,6 +2487,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
path: 'Broadcasts',
intents: [ProductKey.WORKFLOWS],
href: urls.broadcasts(),
+ searchKeywords: ['newsletter', 'email blast'],
type: 'broadcasts',
category: ProductItemCategory.MESSAGING,
iconType: 'broadcasts',
@@ -2637,7 +2638,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
iconType: 'dashboard',
iconColor: ['var(--color-product-dashboards-light)'],
href: urls.dashboards(),
- searchKeywords: ['boards', 'charts'],
+ searchKeywords: ['boards'],
searchTabs: [
{ name: 'My dashboards', href: urls.dashboards('yours') },
{
@@ -2699,7 +2700,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
iconType: 'data_pipeline',
iconColor: ['var(--color-product-data-warehouse-light)'],
href: urls.etlOverview(),
- searchKeywords: ['syncs', 'sync health'],
+ searchKeywords: ['etl', 'syncs', 'sync health'],
flag: FEATURE_FLAGS.WAREHOUSE_MULTI_DESTINATION,
sceneKey: 'PipelineOverview',
sceneKeys: ['PipelineOverview'],
@@ -2779,7 +2780,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
'var(--color-product-error-tracking-dark)',
] as FileSystemIconColor,
href: urls.errorTracking(),
- searchKeywords: ['exceptions', 'crashes', 'bugs', 'stack traces'],
+ searchKeywords: ['errors', 'exceptions', 'crashes', 'bugs', 'stack traces'],
searchTabs: [{ name: 'Insights', href: urls.errorTracking({ activeTab: 'insights' }) }],
sceneKey: 'ErrorTracking',
sceneKeys: ['ErrorTracking', 'ErrorTrackingIssue', 'ErrorTrackingFingerprint'],
@@ -2792,7 +2793,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
iconType: 'llm_evaluations' as FileSystemIconType,
iconColor: ['var(--color-product-llm-evaluations-light)', 'var(--color-product-llm-evaluations-dark)'],
href: urls.aiObservabilityEvaluations(),
- searchKeywords: ['llm judge', 'llm as a judge', 'grading', 'datasets', 'test sets', 'golden set'],
+ searchKeywords: ['evals', 'llm judge', 'llm as a judge', 'grading', 'datasets', 'test sets', 'golden set'],
searchTabs: [
{
name: 'Offline evals',
@@ -2893,7 +2894,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.TOOLS,
iconType: 'inbox' as FileSystemIconType,
href: urls.inbox(),
- searchKeywords: ['signals', 'sources', 'triage', 'findings'],
+ searchKeywords: ['signals', 'triage', 'findings'],
searchTabs: [
{ name: 'Reports', href: urls.inbox('reports') },
{ name: 'Scouts', href: urls.inbox('scouts') },
@@ -2921,7 +2922,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
iconType: 'llm_analytics' as FileSystemIconType,
iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
href: urls.aiObservabilityDashboard(),
- searchKeywords: ['llm observability', 'llm costs', 'token usage'],
+ searchKeywords: ['llm analytics', 'llm observability', 'llm costs', 'token usage'],
searchTabs: [
{ name: 'Traces', href: urls.aiObservabilityTraces() },
{ name: 'Generations', href: urls.aiObservabilityGenerations() },
@@ -2964,6 +2965,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
iconType: 'logs' as FileSystemIconType,
iconColor: ['var(--color-product-logs-light)', 'var(--color-product-logs-dark)'] as FileSystemIconColor,
href: urls.logs(),
+ searchKeywords: ['logging'],
searchTabs: [
{ name: 'Alerts', href: urls.logs('alerts') },
{ name: 'SQL', href: urls.logs('sql') },
@@ -2990,7 +2992,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
iconType: 'mcp_analytics' as FileSystemIconType,
iconColor: ['var(--color-product-mcp-analytics-light)', 'var(--color-product-mcp-analytics-dark)'],
href: urls.mcpAnalytics(),
- searchKeywords: ['tool calls', 'model context protocol', 'plugins'],
+ searchKeywords: ['tool calls', 'model context protocol'],
searchTabs: [
{ name: 'Activity', href: urls.mcpAnalyticsActivity() },
{ name: 'Sessions', href: urls.mcpAnalyticsSessions() },
@@ -3225,7 +3227,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
iconType: 'sql_editor',
iconColor: ['var(--color-product-data-warehouse-light)'],
href: urls.sqlEditor(),
- searchKeywords: ['hogql', 'hogsql', 'query editor'],
+ searchKeywords: ['sql', 'hogql', 'hogsql', 'query editor'],
sceneKey: 'SQLEditor',
sceneKeys: ['SQLEditor'],
},
@@ -3234,7 +3236,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
intents: [ProductKey.SESSION_REPLAY, ProductKey.MOBILE_REPLAY],
category: ProductItemCategory.PRODUCT_ENGINEERING,
href: urls.replay(ReplayTabs.Home),
- searchKeywords: ['recordings', 'session recording'],
+ searchKeywords: ['replay', 'sessions', 'recordings', 'session recording'],
searchTabs: [{ name: 'Collections', href: urls.replay(ReplayTabs.Playlists), searchKeywords: ['playlists'] }],
type: 'session_recording_playlist',
iconType: 'session_replay',
@@ -3364,6 +3366,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
path: 'Transactional',
intents: [ProductKey.WORKFLOWS],
href: urls.transactional(),
+ searchKeywords: ['transactional email'],
type: 'transactional',
category: ProductItemCategory.MESSAGING,
iconType: 'transactional',
@@ -3386,7 +3389,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.UNRELEASED,
iconType: 'uptime_monitoring',
href: urls.uptimeMonitoring(),
- searchKeywords: ['uptime', 'status', 'health check', 'synthetics', 'ping'],
+ searchKeywords: ['status', 'health check', 'synthetics', 'ping'],
flag: FEATURE_FLAGS.UPTIME_MONITORING,
tags: ['alpha'],
sceneKey: 'UptimeMonitoring',
@@ -3456,6 +3459,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
path: 'Workflows',
intents: [ProductKey.WORKFLOWS],
href: urls.workflows(),
+ searchKeywords: ['automations', 'campaigns', 'messaging'],
searchTabs: [
{ name: 'Library', href: urls.workflows('library') },
{ name: 'Channels', href: urls.workflows('channels') },
@@ -3608,13 +3612,13 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
name: 'Usage',
href: urls.models('usage'),
flag: FEATURE_FLAGS.DATA_MODELING_USAGE,
- searchKeywords: ['bytes read', 'cpu', 'materialization'],
+ searchKeywords: ['bytes read', 'cpu'],
},
{ name: 'Lineage', href: urls.models('lineage'), searchKeywords: ['dag', 'dependencies'] },
{
name: 'Data quality',
href: urls.models('data-quality'),
- searchKeywords: ['tests', 'checks', 'freshness'],
+ searchKeywords: ['data tests', 'checks', 'freshness'],
},
],
sceneKey: 'Models',
@@ -3687,7 +3691,7 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
iconType: 'data_transformation',
iconColor: ['var(--color-product-transformations-light)', 'var(--color-product-transformations-dark)'],
href: urls.transformations(),
- searchKeywords: ['enrichment', 'geoip', 'redact pii'],
+ searchKeywords: ['enrichment', 'geoip', 'redact pii', 'plugins'],
sceneKey: 'Transformations',
sceneKeys: ['Transformations'],
},
diff --git a/products/ai_observability/manifest.tsx b/products/ai_observability/manifest.tsx
index 472587bb083c..2ba7dc7d570d 100644
--- a/products/ai_observability/manifest.tsx
+++ b/products/ai_observability/manifest.tsx
@@ -459,7 +459,7 @@ export const manifest: ProductManifest = {
iconType: 'llm_analytics' as FileSystemIconType,
iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
href: urls.aiObservabilityDashboard(),
- searchKeywords: ['llm observability', 'llm costs', 'token usage'],
+ searchKeywords: ['llm analytics', 'llm observability', 'llm costs', 'token usage'],
searchTabs: [
{ name: 'Traces', href: urls.aiObservabilityTraces() },
{ name: 'Generations', href: urls.aiObservabilityGenerations() },
@@ -502,7 +502,7 @@ export const manifest: ProductManifest = {
iconType: 'llm_evaluations' as FileSystemIconType,
iconColor: ['var(--color-product-llm-evaluations-light)', 'var(--color-product-llm-evaluations-dark)'],
href: urls.aiObservabilityEvaluations(),
- searchKeywords: ['llm judge', 'llm as a judge', 'grading', 'datasets', 'test sets', 'golden set'],
+ searchKeywords: ['evals', 'llm judge', 'llm as a judge', 'grading', 'datasets', 'test sets', 'golden set'],
searchTabs: [
{
name: 'Offline evals',
diff --git a/products/cdp/manifest.tsx b/products/cdp/manifest.tsx
index b1ee0e4e6a01..55629f05ec61 100644
--- a/products/cdp/manifest.tsx
+++ b/products/cdp/manifest.tsx
@@ -89,7 +89,7 @@ export const manifest: ProductManifest = {
iconType: 'data_transformation',
iconColor: ['var(--color-product-transformations-light)', 'var(--color-product-transformations-dark)'],
href: urls.transformations(),
- searchKeywords: ['enrichment', 'geoip', 'redact pii'],
+ searchKeywords: ['enrichment', 'geoip', 'redact pii', 'plugins'],
sceneKey: 'Transformations',
sceneKeys: ['Transformations'],
},
diff --git a/products/dashboards/manifest.tsx b/products/dashboards/manifest.tsx
index 5b27cd54b422..a5e8626acc68 100644
--- a/products/dashboards/manifest.tsx
+++ b/products/dashboards/manifest.tsx
@@ -57,7 +57,7 @@ export const manifest: ProductManifest = {
iconType: 'dashboard',
iconColor: ['var(--color-product-dashboards-light)'],
href: urls.dashboards(),
- searchKeywords: ['boards', 'charts'],
+ searchKeywords: ['boards'],
searchTabs: [
{ name: 'My dashboards', href: urls.dashboards('yours') },
{
diff --git a/products/data_modeling/manifest.tsx b/products/data_modeling/manifest.tsx
index 4f20a4352ad0..0ce42aa14e2c 100644
--- a/products/data_modeling/manifest.tsx
+++ b/products/data_modeling/manifest.tsx
@@ -45,13 +45,13 @@ export const manifest: ProductManifest = {
name: 'Usage',
href: urls.models('usage'),
flag: FEATURE_FLAGS.DATA_MODELING_USAGE,
- searchKeywords: ['bytes read', 'cpu', 'materialization'],
+ searchKeywords: ['bytes read', 'cpu'],
},
{ name: 'Lineage', href: urls.models('lineage'), searchKeywords: ['dag', 'dependencies'] },
{
name: 'Data quality',
href: urls.models('data-quality'),
- searchKeywords: ['tests', 'checks', 'freshness'],
+ searchKeywords: ['data tests', 'checks', 'freshness'],
},
],
sceneKey: 'Models',
diff --git a/products/data_warehouse/manifest.tsx b/products/data_warehouse/manifest.tsx
index f79994133c0b..ec22243434a9 100644
--- a/products/data_warehouse/manifest.tsx
+++ b/products/data_warehouse/manifest.tsx
@@ -187,7 +187,7 @@ export const manifest: ProductManifest = {
iconType: 'sql_editor',
iconColor: ['var(--color-product-data-warehouse-light)'],
href: urls.sqlEditor(),
- searchKeywords: ['hogql', 'hogsql', 'query editor'],
+ searchKeywords: ['sql', 'hogql', 'hogsql', 'query editor'],
sceneKey: 'SQLEditor',
sceneKeys: ['SQLEditor'],
},
diff --git a/products/error_tracking/manifest.tsx b/products/error_tracking/manifest.tsx
index 812ad228095e..c789e7432243 100644
--- a/products/error_tracking/manifest.tsx
+++ b/products/error_tracking/manifest.tsx
@@ -120,7 +120,7 @@ export const manifest: ProductManifest = {
'var(--color-product-error-tracking-dark)',
] as FileSystemIconColor,
href: urls.errorTracking(),
- searchKeywords: ['exceptions', 'crashes', 'bugs', 'stack traces'],
+ searchKeywords: ['errors', 'exceptions', 'crashes', 'bugs', 'stack traces'],
searchTabs: [{ name: 'Insights', href: urls.errorTracking({ activeTab: 'insights' }) }],
sceneKey: 'ErrorTracking',
},
diff --git a/products/inbox/manifest.tsx b/products/inbox/manifest.tsx
index 4c8b52595dec..37dc254ccbd1 100644
--- a/products/inbox/manifest.tsx
+++ b/products/inbox/manifest.tsx
@@ -19,7 +19,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.TOOLS,
iconType: 'inbox' as FileSystemIconType,
href: urls.inbox(),
- searchKeywords: ['signals', 'sources', 'triage', 'findings'],
+ searchKeywords: ['signals', 'triage', 'findings'],
searchTabs: [
{ name: 'Reports', href: urls.inbox('reports') },
{ name: 'Scouts', href: urls.inbox('scouts') },
diff --git a/products/logs/manifest.tsx b/products/logs/manifest.tsx
index cba166f4cb84..4b68a5cd9d11 100644
--- a/products/logs/manifest.tsx
+++ b/products/logs/manifest.tsx
@@ -106,6 +106,7 @@ export const manifest: ProductManifest = {
iconType: 'logs' as FileSystemIconType,
iconColor: ['var(--color-product-logs-light)', 'var(--color-product-logs-dark)'] as FileSystemIconColor,
href: urls.logs(),
+ searchKeywords: ['logging'],
searchTabs: [
{ name: 'Alerts', href: urls.logs('alerts') },
{ name: 'SQL', href: urls.logs('sql') },
diff --git a/products/mcp_analytics/manifest.tsx b/products/mcp_analytics/manifest.tsx
index 433d98780642..33ecfc31f09c 100644
--- a/products/mcp_analytics/manifest.tsx
+++ b/products/mcp_analytics/manifest.tsx
@@ -79,7 +79,7 @@ export const manifest: ProductManifest = {
iconType: 'mcp_analytics' as FileSystemIconType,
iconColor: ['var(--color-product-mcp-analytics-light)', 'var(--color-product-mcp-analytics-dark)'],
href: urls.mcpAnalytics(),
- searchKeywords: ['tool calls', 'model context protocol', 'plugins'],
+ searchKeywords: ['tool calls', 'model context protocol'],
searchTabs: [
{ name: 'Activity', href: urls.mcpAnalyticsActivity() },
{ name: 'Sessions', href: urls.mcpAnalyticsSessions() },
diff --git a/products/replay/manifest.tsx b/products/replay/manifest.tsx
index 82084789b0ab..8de89aaba101 100644
--- a/products/replay/manifest.tsx
+++ b/products/replay/manifest.tsx
@@ -63,7 +63,7 @@ export const manifest: ProductManifest = {
intents: [ProductKey.SESSION_REPLAY, ProductKey.MOBILE_REPLAY],
category: ProductItemCategory.PRODUCT_ENGINEERING,
href: urls.replay(ReplayTabs.Home),
- searchKeywords: ['recordings', 'session recording'],
+ searchKeywords: ['replay', 'sessions', 'recordings', 'session recording'],
searchTabs: [
{ name: 'Collections', href: urls.replay(ReplayTabs.Playlists), searchKeywords: ['playlists'] },
],
diff --git a/products/uptime_monitoring/manifest.tsx b/products/uptime_monitoring/manifest.tsx
index 02869425cee5..94bf3ffc7f25 100644
--- a/products/uptime_monitoring/manifest.tsx
+++ b/products/uptime_monitoring/manifest.tsx
@@ -31,7 +31,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.UNRELEASED,
iconType: 'uptime_monitoring',
href: urls.uptimeMonitoring(),
- searchKeywords: ['uptime', 'status', 'health check', 'synthetics', 'ping'],
+ searchKeywords: ['status', 'health check', 'synthetics', 'ping'],
flag: FEATURE_FLAGS.UPTIME_MONITORING,
tags: ['alpha'],
sceneKey: 'UptimeMonitoring',
diff --git a/products/warehouse_sources/manifest.tsx b/products/warehouse_sources/manifest.tsx
index a36c23b748db..855a16c269ef 100644
--- a/products/warehouse_sources/manifest.tsx
+++ b/products/warehouse_sources/manifest.tsx
@@ -43,7 +43,7 @@ export const manifest: ProductManifest = {
iconType: 'data_pipeline',
iconColor: ['var(--color-product-data-warehouse-light)'],
href: urls.etlOverview(),
- searchKeywords: ['syncs', 'sync health'],
+ searchKeywords: ['etl', 'syncs', 'sync health'],
// The nav entry and the scene body are gated separately. This hides the entry; the
// scene itself still has to refuse a direct visit.
flag: FEATURE_FLAGS.WAREHOUSE_MULTI_DESTINATION,
diff --git a/products/workflows/manifest.tsx b/products/workflows/manifest.tsx
index 8cf0652819ed..17631e7ce21b 100644
--- a/products/workflows/manifest.tsx
+++ b/products/workflows/manifest.tsx
@@ -133,6 +133,7 @@ export const manifest: ProductManifest = {
path: 'Workflows',
intents: [ProductKey.WORKFLOWS],
href: urls.workflows(),
+ searchKeywords: ['automations', 'campaigns', 'messaging'],
searchTabs: [
{ name: 'Library', href: urls.workflows('library') },
{ name: 'Channels', href: urls.workflows('channels') },
@@ -151,6 +152,7 @@ export const manifest: ProductManifest = {
path: 'Broadcasts',
intents: [ProductKey.WORKFLOWS],
href: urls.broadcasts(),
+ searchKeywords: ['newsletter', 'email blast'],
type: 'broadcasts',
category: ProductItemCategory.MESSAGING,
iconType: 'broadcasts',
@@ -161,6 +163,7 @@ export const manifest: ProductManifest = {
path: 'Transactional',
intents: [ProductKey.WORKFLOWS],
href: urls.transactional(),
+ searchKeywords: ['transactional email'],
type: 'transactional',
category: ProductItemCategory.MESSAGING,
iconType: 'transactional',