: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
feat(customer-analytics): show accounts above persons in command palette (#78621)
Arthur Moreira de Deusf03ff9965ce2
diff --git a/frontend/src/lib/components/Search/searchLogic.tsx b/frontend/src/lib/components/Search/searchLogic.tsxindex 2626eb78a406..bb37ba716621 100644--- a/frontend/src/lib/components/Search/searchLogic.tsx+++ b/frontend/src/lib/components/Search/searchLogic.tsx@@ -1571,6 +1571,15 @@ export const searchLogic = kea<searchLogicType>([})}+ // Add accounts+ if (accountItems.length > 0 || accountSearchResultsLoading) {+ categories.push({+ key: 'accounts',+ items: accountItems,+ isLoading: accountSearchResultsLoading,+ })+ }+// Add personsif (personItems.length > 0 || personSearchResultsLoading) {categories.push({@@ -1588,15 +1597,6 @@ export const searchLogic = kea<searchLogicType>([isLoading: groupSearchResultsLoading,})}-- // Add accounts- if (accountItems.length > 0 || accountSearchResultsLoading) {- categories.push({- key: 'accounts',- items: accountItems,- isLoading: accountSearchResultsLoading,- })- }}return categories