diff --git a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--dark.png b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--dark.png index d4b453aab467a..918b0b0d8cf6e 100644 Binary files a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--dark.png and b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--light.png b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--light.png index 6fc20d4654690..0aae7580cd5c2 100644 Binary files a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--light.png and b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-support-with-email--light.png differ diff --git a/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx b/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx index fda67d42f70c2..927f6e16916af 100644 --- a/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx +++ b/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx @@ -19,12 +19,13 @@ import { useActions, useValues } from 'kea' import { SupportForm } from 'lib/components/Support/SupportForm' import { getPublicSupportSnippet, supportLogic } from 'lib/components/Support/supportLogic' import React from 'react' +import { billingLogic } from 'scenes/billing/billingLogic' import { organizationLogic } from 'scenes/organizationLogic' import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic' import { teamLogic } from 'scenes/teamLogic' import { urls } from 'scenes/urls' -import { ProductKey, SidePanelTab } from '~/types' +import { AvailableFeature, ProductKey, SidePanelTab } from '~/types' import AlgoliaSearch from '../../components/AlgoliaSearch' import { SidePanelPaneHeader } from '../components/SidePanelPaneHeader' @@ -95,7 +96,7 @@ const Section = ({ title, children }: { title: string; children: React.ReactNode } const SupportFormBlock = ({ onCancel }: { onCancel: () => void }): JSX.Element => { - // const { supportPlans, hasSupportAddonPlan } = useValues(billingLogic) + const { supportPlans, hasSupportAddonPlan } = useValues(billingLogic) return (
@@ -124,16 +125,14 @@ const SupportFormBlock = ({ onCancel }: { onCancel: () => void }): JSX.Element =
-
- We're making improvements: Our team is attending an offsite so we can make - long-term enhancements. We're working different hours, so non-urgent inquiries without priority - support may experience a slight delay. We’ll be back to full speed next week! -
+ {/* If placing a support message, replace the line below with explanation */} + Avg support response times
Explore options
- {/* {supportPlans?.map((plan) => { + {/* If placing a support message, comment out (don't remove) the section below */} + {supportPlans?.map((plan) => { // If they have an addon plan, only show the addon plan const currentPlan = plan.current_plan && (!hasSupportAddonPlan || plan.plan_key?.includes('addon')) return ( @@ -148,12 +147,11 @@ const SupportFormBlock = ({ onCancel }: { onCancel: () => void }): JSX.Element = )}
- // TODO(@zach): remove fallback after updated plans w/ support levels are shipped {plan.features.find((f) => f.key == AvailableFeature.SUPPORT_RESPONSE_TIME)?.note}
) - })} */} + })}
)