diff --git a/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx b/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx index d152b958d7c9a..622aa09f6d371 100644 --- a/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx +++ b/frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx @@ -161,194 +161,203 @@ export const SidePanelSupport = (): JSX.Element => {
-
- -
+ {isEmailFormOpen ? ( + closeEmailForm()} /> + ) : ( + <> +
+ +
-
-
    - {PRODUCTS.map((product, index) => ( -
  • - -
    - {product.icon} - - {product.name} - -
    +
    +
      + {PRODUCTS.map((product, index) => ( +
    • + +
      + {product.icon} + + {product.name} + +
      +
      + +
      + +
    • + ))} +
    +
    + + {status !== 'operational' ? ( +
    +
    - + + We are experiencing {status.includes('outage') ? 'major' : ''} issues. + + openSidePanel(SidePanelTab.Status)} + className="mt-2 bg-[white]" + > + View system status +
    - -
  • - ))} -
-
+ + + ) : null} - {status !== 'operational' ? ( -
- -
- We are experiencing {status.includes('outage') ? 'major' : ''} issues. + {hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? ( + <> +
+

Can't find what you need in the docs?

+ openEmailForm()} + targetBlank + className="mt-2" + > + Email an engineer + +
+
+

+ Questions about features, how to's, or use cases? There are thousands of + discussions in our community forums.{' '} + Ask a question +

+
+ + ) : ( +
+

+ Questions about features, how to's, or use cases? There are thousands of + discussions in our community forums. +

openSidePanel(SidePanelTab.Status)} - className="mt-2 bg-[white]" + className="mt-2" > - View system status + Ask a question -
-
-
- ) : null} + + )} - {hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? ( - <> -
-

Can't find what you need in the docs?

- openEmailForm()} - targetBlank - className="mt-2" - > - Email an engineer - -
- {isEmailFormOpen ? closeEmailForm()} /> : null} -
-

- Questions about features, how to's, or use cases? There are thousands of discussions - in our community forums.{' '} - Ask a question -

+
+
    +
  • + } + targetBlank + > + Report a bug + +
  • +
  • + } + targetBlank + > + See what we're building + +
  • +
  • + } + targetBlank + > + Vote on our roadmap + +
  • +
  • + } + targetBlank + > + Request a feature + +
  • +
- - ) : ( -
-

- Questions about features, how to's, or use cases? There are thousands of discussions in - our community forums. -

- - Ask a question - -
- )} - -
-
    -
  • - } - targetBlank - > - Report a bug - -
  • -
  • - } - targetBlank - > - See what we're building - -
  • -
  • - } - targetBlank - > - Vote on our roadmap - -
  • -
  • - } - targetBlank - > - Request a feature - -
  • -
-
- - {!hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? ( -
-

- Due to our large userbase, we're unable to offer email support to organizations on the - free plan. But we still want to help! -

-
    -
  1. - Search our docs + {!hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? ( +

    - We're constantly updating our docs and tutorials to provide the latest - information about installing, using, and troubleshooting. + Due to our large userbase, we're unable to offer email support to organizations + on the free plan. But we still want to help!

    -
  2. -
  3. - Ask a community question -

    - Many common (and niche) questions have already been resolved by users just like - you. (Our own engineers also keep an eye on the questions as they have time!){' '} - - Search community questions or ask your own. - -

    -
  4. -
  5. - - Explore PostHog partners - -

    - Third-party providers can help with installation and debugging of data issues. -

    -
  6. -
  7. - Upgrade to a paid plan -

    - Our paid plans offer email support.{' '} - - Explore options. - -

    -
  8. -
-
- ) : null} + +
    +
  1. + Search our docs +

    + We're constantly updating our docs and tutorials to provide the latest + information about installing, using, and troubleshooting. +

    +
  2. +
  3. + Ask a community question +

    + Many common (and niche) questions have already been resolved by users + just like you. (Our own engineers also keep an eye on the questions as + they have time!){' '} + + Search community questions or ask your own. + +

    +
  4. +
  5. + + Explore PostHog partners + +

    + Third-party providers can help with installation and debugging of data + issues. +

    +
  6. +
  7. + Upgrade to a paid plan +

    + Our paid plans offer email support.{' '} + + Explore options. + +

    +
  8. +
+
+ ) : null} + + )}