: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
fix(desktop): update Command Center icon (#76637)
Peter Kirkhamb99bc34c053b
diff --git a/products/desktop/packages/ui/src/features/command/CommandMenu.tsx b/products/desktop/packages/ui/src/features/command/CommandMenu.tsxindex cba2fe82bf3d..fc5025624c3a 100644--- a/products/desktop/packages/ui/src/features/command/CommandMenu.tsx+++ b/products/desktop/packages/ui/src/features/command/CommandMenu.tsx@@ -4,6 +4,7 @@ import {ChartLine,EnvelopeSimple,GitDiffIcon,+ SquaresFourIcon,} from "@phosphor-icons/react";import { workspaceIdSet } from "@posthog/core/command-center/eligibility";import { resolveService } from "@posthog/di/container";@@ -75,7 +76,6 @@ import {FileTextIcon,GearIcon,HomeIcon,- LightningBoltIcon,MagnifyingGlassIcon,MoonIcon,ReloadIcon,@@ -277,8 +277,8 @@ export function CommandMenu({ open, onOpenChange }: CommandMenuProps) {{id: "command-center",label: "Command center",- keywords: "lightning grid tasks parallel dashboard",- icon: <LightningBoltIcon className="h-3 w-3 text-gray-11" />,+ keywords: "grid tasks parallel dashboard",+ icon: <SquaresFourIcon className="h-3 w-3 text-gray-11" />,action: "open-command-center",onRun: () => {closeSettingsDialog();diff --git a/products/desktop/packages/ui/src/features/sidebar/components/CustomizeSidebarDialog.tsx b/products/desktop/packages/ui/src/features/sidebar/components/CustomizeSidebarDialog.tsxindex 00d855ff46a5..0ad24065b76e 100644--- a/products/desktop/packages/ui/src/features/sidebar/components/CustomizeSidebarDialog.tsx+++ b/products/desktop/packages/ui/src/features/sidebar/components/CustomizeSidebarDialog.tsx@@ -4,8 +4,8 @@ import {Bell,DotsSixVertical,EnvelopeSimple,- Lightning,SlidersHorizontal,+ SquaresFourIcon,} from "@phosphor-icons/react";import { LOOPS_FLAG, PROJECT_BLUEBIRD_FLAG } from "@posthog/shared";import { ANALYTICS_EVENTS } from "@posthog/shared/analytics-events";@@ -29,7 +29,7 @@ const ITEM_ICONS: Record<React.ComponentType<{ size?: number | string }>> = {inbox: EnvelopeSimple,- "command-center": Lightning,+ "command-center": SquaresFourIcon,activity: Bell,configure: SlidersHorizontal,loops: LoopIcon,diff --git a/products/desktop/packages/ui/src/features/sidebar/components/items/CommandCenterItem.tsx b/products/desktop/packages/ui/src/features/sidebar/components/items/CommandCenterItem.tsxindex c0cc8ebb1237..fe09950ca4af 100644--- a/products/desktop/packages/ui/src/features/sidebar/components/items/CommandCenterItem.tsx+++ b/products/desktop/packages/ui/src/features/sidebar/components/items/CommandCenterItem.tsx@@ -1,4 +1,4 @@-import { Lightning } from "@phosphor-icons/react";+import { SquaresFourIcon } from "@phosphor-icons/react";import { CountBadge } from "@posthog/ui/primitives/CountBadge";import { SidebarItem } from "../SidebarItem";@@ -23,7 +23,9 @@ export function CommandCenterItem({return (<SidebarItemdepth={depth}- icon={<Lightning size={16} weight={isActive ? "fill" : "regular"} />}+ icon={+ <SquaresFourIcon size={16} weight={isActive ? "fill" : "regular"} />+ }label="Command Center"isActive={isActive}onClick={onClick}