: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
chore: clean up feature flag more-menu-icon-experiment after experiment 380159 (#70319)
posthog[bot]c5659cb72232
diff --git a/frontend/src/lib/components/HelpMenu/HelpMenu.tsx b/frontend/src/lib/components/HelpMenu/HelpMenu.tsxindex 595ca1ead50e..12e9d25317cb 100644--- a/frontend/src/lib/components/HelpMenu/HelpMenu.tsx+++ b/frontend/src/lib/components/HelpMenu/HelpMenu.tsx@@ -5,7 +5,6 @@ import { IconCopy, IconDatabase, IconOpenSidebar, IconServer, IconShieldLock, Icimport { ProfilePicture } from '@posthog/lemon-ui'import { KeyboardShortcut } from 'lib/components/KeyboardShortcut/KeyboardShortcut'-import { useFeatureFlag } from 'lib/hooks/useFeatureFlag'import { IconMenu, IconWithBadge } from 'lib/lemon-ui/icons'import { LemonBadge } from 'lib/lemon-ui/LemonBadge/LemonBadge'import { Link } from 'lib/lemon-ui/Link/Link'@@ -28,7 +27,6 @@ import { keyBinds } from '../Shortcuts/shortcuts'import { openCHQueriesDebugModal } from '../Shortcuts/utils/DebugCHQueries'import { healthSummaryLogic } from './healthSummaryLogic'import { helpMenuLogic } from './helpMenuLogic'-import { IconCheeseburger } from './IconCheeseburger'import { posthogStatusLogic } from './posthogStatusLogic'export function HelpMenu({ iconOnly = false }: { iconOnly?: boolean }): JSX.Element {@@ -43,9 +41,6 @@ export function HelpMenu({ iconOnly = false }: { iconOnly?: boolean }): JSX.ElemuseValues(posthogStatusLogic)const { totalIssues } = useValues(healthSummaryLogic)- // A/B test of the trigger icon: control = 3-line hamburger menu icon, test = cheeseburger glyph- const useCheeseburger = useFeatureFlag('MORE_MENU_ICON_EXPERIMENT', 'test')-return (<Menu.Root open={isHelpMenuOpen} onOpenChange={setHelpMenuOpen}><Menu.Trigger@@ -74,11 +69,7 @@ export function HelpMenu({ iconOnly = false }: { iconOnly?: boolean }): JSX.Elemstatus={triggerBadgeStatus}className="flex">- {useCheeseburger ? (- <IconCheeseburger className="size-[17px]" />- ) : (- <IconMenu className="size-[17px]" />- )}+ <IconMenu className="size-[17px]" /></IconWithBadge></span>{!iconOnly && (diff --git a/frontend/src/lib/components/HelpMenu/IconCheeseburger.tsx b/frontend/src/lib/components/HelpMenu/IconCheeseburger.tsxdeleted file mode 100644index d637e02a092b..000000000000--- a/frontend/src/lib/components/HelpMenu/IconCheeseburger.tsx+++ /dev/null@@ -1,19 +0,0 @@-/** Filled cheeseburger glyph used as the "test" variant of the More nav button icon experiment. */-export function IconCheeseburger({ className }: { className?: string }): JSX.Element {- return (- <svg- className={className}- width="1em"- height="1em"- viewBox="0 0 24 24"- fill="currentColor"- xmlns="http://www.w3.org/2000/svg"- aria-hidden="true"- focusable="false"- >- <path d="M6.08892 4.86669C8.09973 4.21897 10.4602 4 12 4C13.5398 4 15.9003 4.21897 17.9111 4.86669C18.9138 5.18967 19.9017 5.64179 20.6564 6.28456C21.4307 6.94413 22 7.84629 22 9C22 9.55228 21.5523 10 21 10H3C2.44772 10 2 9.55228 2 9C2 7.84629 2.56929 6.94413 3.34365 6.28456C4.09829 5.64179 5.08623 5.18967 6.08892 4.86669Z" />- <path d="M4.88462 13.5481C5.59846 13.2506 6.40154 13.2506 7.11539 13.5481C8.32154 14.0506 9.67846 14.0506 10.8846 13.5481C11.5985 13.2506 12.4015 13.2506 13.1154 13.5481C14.3215 14.0506 15.6785 14.0506 16.8846 13.5481C17.5985 13.2506 18.4015 13.2506 19.1154 13.5481C19.7183 13.7993 20.3589 13.9249 20.9994 13.925C21.5517 13.9251 21.9994 13.4774 21.9995 12.9251C21.9996 12.3728 21.5519 11.9251 20.9996 11.925C20.6205 11.925 20.2414 11.8506 19.8846 11.7019C18.6785 11.1994 17.3215 11.1994 16.1154 11.7019C15.4015 11.9994 14.5985 11.9994 13.8846 11.7019C12.6785 11.1994 11.3215 11.1994 10.1154 11.7019C9.40154 11.9994 8.59846 11.9994 7.88462 11.7019C6.67846 11.1994 5.32154 11.1994 4.11539 11.7019C3.75845 11.8506 3.37928 11.925 3 11.925C2.44772 11.925 2 12.3727 2 12.925C2 13.4773 2.44772 13.925 3 13.925C3.64072 13.925 4.28155 13.7994 4.88462 13.5481Z" />- <path d="M18.032 20C18.4706 20 18.8491 20 19.1624 19.9787C19.4922 19.9561 19.8221 19.9066 20.1481 19.7716C20.8831 19.4672 21.4672 18.8831 21.7716 18.1481C21.9066 17.8221 21.9561 17.4922 21.9787 17.1624C22 16.8491 22 16.4706 22 16.032V16C22 15.4477 21.5523 15 21 15H3C2.44772 15 2 15.4477 2 16V16.032C1.99999 16.4706 1.99998 16.8491 2.02135 17.1624C2.04386 17.4922 2.09336 17.8221 2.22836 18.1481C2.53284 18.8831 3.11687 19.4672 3.85195 19.7716C4.17788 19.9066 4.50779 19.9561 4.83762 19.9787C5.15087 20 5.52934 20 5.96798 20H18.032Z" />- </svg>- )-}diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex 453454ff03bc..af35585813f2 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -175,7 +175,6 @@ export const FEATURE_FLAGS = {// UX flags, used to control the UX of the appCREATE_BUTTON_NAV_EXPERIMENT: 'create-button-nav-experiment', // owner: #team-platform-ux multivariate=control,test — adds a Create dropdown to the top of the Browse tab in the left nav- MORE_MENU_ICON_EXPERIMENT: 'more-menu-icon-experiment', // owner: #team-platform-ux multivariate=control,test — A/B test of the "More" nav button icon: control = 3-line hamburger menu icon, test = filled burger glyphNEW_INSIGHT_MENU_EXPERIMENT: 'new-insight-menu-experiment', // owner: @thmsobrmlr #team-product-analytics multivariate=control,chips,grouped — experiment on the saved insights "New" menu: control = text list, chips = visual card grid with sub-insight chips, grouped = two-column card grid grouped by questionSTARRED_REORDER: 'starred-reorder', // owner: #team-platform-ux, drag-and-drop reorder of starred shortcuts in the side panelUX_HIDE_PROJECT_NOTICE: 'ux-hide-project-notice', // owner: #team-platform-ux, hides the project notice banner across all scenes