: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(desktop): add archived command menu action (#77599)
Matt Puab4f79697346b
diff --git a/products/desktop/packages/shared/src/analytics-events.ts b/products/desktop/packages/shared/src/analytics-events.tsindex 3507efff5b59..b44cce817225 100644--- a/products/desktop/packages/shared/src/analytics-events.ts+++ b/products/desktop/packages/shared/src/analytics-events.ts@@ -56,6 +56,7 @@ export type CommandMenuAction =| "open-channel"| "open-command-center"| "open-inbox"+ | "open-archived"| "open-loops"| "open-usage"| "search-files"diff --git a/products/desktop/packages/ui/src/features/command/CommandMenu.tsx b/products/desktop/packages/ui/src/features/command/CommandMenu.tsxindex fc5025624c3a..1e90bd9593b0 100644--- a/products/desktop/packages/ui/src/features/command/CommandMenu.tsx+++ b/products/desktop/packages/ui/src/features/command/CommandMenu.tsx@@ -1,4 +1,5 @@import {+ ArchiveIcon,CaretLeftIcon,CaretRightIcon,ChartLine,@@ -61,6 +62,7 @@ import { LoopIcon } from "@posthog/ui/primitives/LoopIcon";import {goBackInHistory,goForwardInHistory,+ navigateToArchived,navigateToChannel,navigateToCommandCenter,navigateToInbox,@@ -274,6 +276,17 @@ export function CommandMenu({ open, onOpenChange }: CommandMenuProps) {navigateToInbox();},},+ {+ id: "archived",+ label: "Archived",+ keywords: "archive archived tasks",+ icon: <ArchiveIcon size={12} className="text-gray-11" />,+ action: "open-archived",+ onRun: () => {+ closeSettingsDialog();+ navigateToArchived();+ },+ },{id: "command-center",label: "Command center",