Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change "email an engineer" to "open a ticket" #21192

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
240 changes: 132 additions & 108 deletions frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelSupport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,127 +178,151 @@ export const SidePanelSupport = (): JSX.Element => {
</ul>
</Section>

<Section title="Ask the community">
<p>
Questions about features, how to's, or use cases? There are thousands of discussions in our
community forums.
</p>
<LemonButton
type="primary"
fullWidth
center
to="https://posthog.com/questions"
targetBlank
className="mt-2"
>
Ask a question
</LemonButton>
</Section>

<Section title="Share feedback">
<ul>
<li>
<LemonButton
type="secondary"
status="alt"
to="https://github.com/posthog/posthog/issues"
icon={<IconBug />}
targetBlank
>
Report a bug
</LemonButton>
</li>
<li>
<LemonButton
type="secondary"
status="alt"
to="https://posthog.com/wip"
icon={<IconHelmet />}
targetBlank
>
See what we're building
</LemonButton>
</li>
<li>
<LemonButton
type="secondary"
status="alt"
to="https://posthog.com/roadmap"
icon={<IconMap />}
targetBlank
>
Vote on our roadmap
</LemonButton>
</li>
<li>
{hasAvailableFeature(AvailableFeature.PRIORITY_SUPPORT) ? (
<Section title="Open a ticket">
<p>Can't find what you need in the docs? Send us an email.</p>
<LemonButton
type="primary"
fullWidth
center
onClick={() => openEmailForm()}
targetBlank
className="mt-2"
>
Open a ticket
</LemonButton>
</Section>
) : (
<>
<Section title="Ask the community">
<p>
Questions about features, how to's, or use cases? There are thousands of discussions
in our community forums.
</p>
<LemonButton
type="secondary"
status="alt"
to="https://github.com/posthog/posthog/issues"
icon={<IconFeatures />}
type="primary"
fullWidth
center
to="https://posthog.com/questions"
targetBlank
className="mt-2"
>
Request a feature
Ask a question
</LemonButton>
</li>
</ul>
</Section>
</Section>
<Section title="Share feedback">
<ul>
<li>
<LemonButton
type="secondary"
status="alt"
to="https://github.com/posthog/posthog/issues"
icon={<IconBug />}
targetBlank
>
Report a bug
</LemonButton>
</li>
<li>
<LemonButton
type="secondary"
status="alt"
to="https://posthog.com/wip"
icon={<IconHelmet />}
targetBlank
>
See what we're building
</LemonButton>
</li>
<li>
<LemonButton
type="secondary"
status="alt"
to="https://posthog.com/roadmap"
icon={<IconMap />}
targetBlank
>
Vote on our roadmap
</LemonButton>
</li>
<li>
<LemonButton
type="secondary"
status="alt"
to="https://github.com/posthog/posthog/issues"
icon={<IconFeatures />}
targetBlank
>
Request a feature
</LemonButton>
</li>
</ul>
</Section>
</>
)}

{hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? (
{hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) &&
!hasAvailableFeature(AvailableFeature.PRIORITY_SUPPORT) ? (
<Section title="More options">
{isEmailFormOpen ? (
<SupportFormBlock onCancel={() => closeEmailForm()} />
) : (
<p>
Can't find what you need in the docs?{' '}
<Link onClick={() => openEmailForm()}>Email an engineer</Link>
</p>
<>
<p>Can't find what you need in the docs? </p>
<LemonButton onClick={() => openEmailForm()} type="secondary">
Open a ticket
</LemonButton>
</>
)}
</Section>
) : (
<Section title="Contact support">
<p>
Due to our large userbase, we're unable to offer email support to organizations on the
free plan. But we still want to help!
</p>
!hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) && (
<Section title="Contact support">
<p>
Due to our large userbase, we're unable to offer email support to organizations on
the free plan. But we still want to help!
</p>

<ol className="pl-5">
<li>
<strong className="block">Search our docs</strong>
<p>
We're constantly updating our docs and tutorials to provide the latest
information about installing, using, and troubleshooting.
</p>
</li>
<li>
<strong className="block">Ask a community question</strong>
<p>
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!){' '}
<Link to="https://posthog.com/question" className="block">
Search community questions or ask your own.
</Link>
</p>
</li>
<li>
<strong className="block">
Explore <Link to="https://posthog.com/partners">PostHog partners</Link>
</strong>
<p>
Third-party providers can help with installation and debugging of data issues.
</p>
</li>
<li>
<strong className="block">Upgrade to a paid plan</strong>
<p>
Our paid plans offer email support.{' '}
<Link to={urls.organizationBilling([ProductKey.PLATFORM_AND_SUPPORT])}>
Explore options.
</Link>
</p>
</li>
</ol>
</Section>
<ol className="pl-5">
<li>
<strong className="block">Search our docs</strong>
<p>
We're constantly updating our docs and tutorials to provide the latest
information about installing, using, and troubleshooting.
</p>
</li>
<li>
<strong className="block">Ask a community question</strong>
<p>
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!){' '}
<Link to="https://posthog.com/question" className="block">
Search community questions or ask your own.
</Link>
</p>
</li>
<li>
<strong className="block">
Explore <Link to="https://posthog.com/partners">PostHog partners</Link>
</strong>
<p>
Third-party providers can help with installation and debugging of data
issues.
</p>
</li>
<li>
<strong className="block">Upgrade to a paid plan</strong>
<p>
Our paid plans offer email support.{' '}
<Link to={urls.organizationBilling([ProductKey.PLATFORM_AND_SUPPORT])}>
Explore options.
</Link>
</p>
</li>
</ol>
</Section>
)
)}
</div>
</div>
Expand Down
Loading