: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(support): link support tab AI button to /ai#panel=max (#62813)
Ben Lea256e6ec66a8f
diff --git a/frontend/src/layout/navigation-3000/sidepanel/panels/support/SidePanelSupport.tsx b/frontend/src/layout/navigation-3000/sidepanel/panels/support/SidePanelSupport.tsxindex d6ed95ced0b8..6f8600080c2a 100644--- a/frontend/src/layout/navigation-3000/sidepanel/panels/support/SidePanelSupport.tsx+++ b/frontend/src/layout/navigation-3000/sidepanel/panels/support/SidePanelSupport.tsx@@ -11,19 +11,19 @@ import { FEATURE_FLAGS } from 'lib/constants'import { dayjs } from 'lib/dayjs'import { featureFlagLogic } from 'lib/logic/featureFlagLogic'import { billingLogic } from 'scenes/billing/billingLogic'-import { useOpenAi } from 'scenes/max/useOpenAi'import { organizationLogic } from 'scenes/organizationLogic'import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'import { urls } from 'scenes/urls'import { userLogic } from 'scenes/userLogic'import { ProductKey } from '~/queries/schema/schema-general'-import { AvailableFeature, BillingFeatureType, BillingPlan, BillingType } from '~/types'+import { AvailableFeature, BillingFeatureType, BillingPlan, BillingType, SidePanelTab } from '~/types'import { SidePanelTickets } from 'products/conversations/frontend/components/SidePanel/SidePanelTickets'import { SidePanelPaneHeader } from '../../components/SidePanelPaneHeader'import { SidePanelContentContainer } from '../../SidePanelContentContainer'+import { sidePanelStateLogic } from '../../sidePanelStateLogic'const Section = ({ title, children }: { title: string; children: React.ReactNode }): React.ReactElement => {return (@@ -317,9 +317,9 @@ export function SidePanelSupport(): JSX.Element {isSendSupportRequestSubmitting,} = useValues(supportLogic)const { closeEmailForm, openEmailForm, closeSupportForm, resetSendSupportRequest } = useActions(supportLogic)+ const { openSidePanel } = useActions(sidePanelStateLogic)const { billing, billingLoading, billingPlan } = useValues(billingLogic)const { isCurrentOrganizationNew } = useValues(organizationLogic)- const { openAi } = useOpenAi()const useProductSupportSidePanel = featureFlags[FEATURE_FLAGS.PRODUCT_SUPPORT_SIDE_PANEL]@@ -374,7 +374,7 @@ export function SidePanelSupport(): JSX.Element {fullWidthcenteronClick={() => {- openAi()+ openSidePanel(SidePanelTab.Max)}}targetBlank={false}className="mt-2"