Skip to content

Commit 85b84e0

Browse files
authored
chore: put focus on Discord for community help (supabase#39888)
* single button clarity * support policy * troubleshooting docs * fix telemetry bug
1 parent 928d5f4 commit 85b84e0

File tree

5 files changed

+42
-72
lines changed

5 files changed

+42
-72
lines changed

apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ Our YouTube channel has great videos to help you implement Supabase Auth with Ne
2929

3030
Also, take some time to get familiar with some concepts on authentication with Next.js, such as https://nextjs.org/docs/app/building-your-application/authentication.
3131

32-
We know your requirements vary, and you might run into an edge case. In that scenario, use our amazing community channels ([GitHub](https://github.com/orgs/supabase/discussions), [Discord](https://discord.gg/rxTfewPvys)) to get help troubleshooting the issue. You can post your issues to the `@supabase/ssr` [GitHub repo](https://github.com/supabase/ssr/issues). We always welcome your contributions!
32+
We know your requirements vary, and you might run into an edge case. In that scenario, join our amazing [Discord community](https://discord.supabase.com) to get help troubleshooting the issue. You can post your issues to the `@supabase/ssr` [GitHub repo](https://github.com/supabase/ssr/issues). We always welcome your contributions!
3333

3434
If none of the above works, don’t hesitate to reach out to [Supabase support](https://supabase.help); consider adding more information, such as your use case, code snippets, a copy of your `package.json`, `middleware.ts` and a HAR file, to help the support team triage your issue.

apps/www/data/home/content.tsx

Lines changed: 18 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { MessageCircle } from 'lucide-react'
1+
import VideoWithHighlights from 'components/VideoWithHighlights'
2+
import { useSendTelemetryEvent } from 'lib/telemetry'
23
import Link from 'next/link'
34
import { Button } from 'ui'
4-
import VideoWithHighlights from 'components/VideoWithHighlights'
55
import ProductModules from '../ProductModules'
6-
import { useSendTelemetryEvent } from 'lib/telemetry'
76

8-
import tweets from 'shared-data/tweets'
97
import MainProducts from 'data/MainProducts'
8+
import tweets from 'shared-data/tweets'
9+
import { IconDiscord } from 'ui'
1010

1111
export default () => {
1212
const sendTelemetryEvent = useSendTelemetryEvent()
@@ -173,36 +173,20 @@ export default () => {
173173
heading: 'Join the community',
174174
subheading: 'Discover what our community has to say about their Supabase experience.',
175175
ctas: (
176-
<>
177-
<Button asChild size="small" iconRight={<MessageCircle size={14} />} type="default">
178-
<Link
179-
href={'https://github.com/supabase/supabase/discussions'}
180-
target="_blank"
181-
tabIndex={-1}
182-
onClick={() =>
183-
sendTelemetryEvent({
184-
action: 'homepage_github_discussions_button_clicked',
185-
})
186-
}
187-
>
188-
GitHub discussions
189-
</Link>
190-
</Button>
191-
<Button asChild type="default" size="small" iconRight={<MessageCircle size={14} />}>
192-
<Link
193-
href={'https://discord.supabase.com/'}
194-
target="_blank"
195-
tabIndex={-1}
196-
onClick={() =>
197-
sendTelemetryEvent({
198-
action: 'homepage_discord_button_clicked',
199-
})
200-
}
201-
>
202-
Discord
203-
</Link>
204-
</Button>
205-
</>
176+
<Button asChild type="default" size="small" icon={<IconDiscord />}>
177+
<Link
178+
href={'https://discord.supabase.com/'}
179+
target="_blank"
180+
tabIndex={-1}
181+
onClick={() =>
182+
sendTelemetryEvent({
183+
action: 'homepage_discord_button_clicked',
184+
})
185+
}
186+
>
187+
Join us on Discord
188+
</Link>
189+
</Button>
206190
),
207191
tweets: tweets.slice(0, 18),
208192
},

apps/www/data/solutions/beginners.tsx

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1+
import { CubeIcon } from '@heroicons/react/outline'
2+
import { Check, Sparkles, Timer } from 'lucide-react'
13
import dynamic from 'next/dynamic'
24
import Link from 'next/link'
3-
import { Check, Sparkles, Timer } from 'lucide-react'
4-
import { CubeIcon } from '@heroicons/react/outline'
5-
import { Button, cn, Image } from 'ui'
5+
import { Button, cn, IconDiscord, Image } from 'ui'
66

7-
import MainProducts from '../MainProducts'
87
import { frameworks } from 'components/Hero/HeroFrameworks'
8+
import MainProducts from '../MainProducts'
99

10-
import type { TwoColumnsSectionProps } from '~/components/Solutions/TwoColumnsSection'
10+
import type { MPCSectionProps } from 'components/Solutions/MPCSection'
1111
import type { PlatformSectionProps } from 'components/Solutions/PlatformSection'
1212
import type { TwitterSocialSectionProps } from 'components/TwitterSocialSection'
13+
import type { TwoColumnsSectionProps } from '~/components/Solutions/TwoColumnsSection'
1314
import {
1415
FrameworkLink,
1516
getEditors,
1617
type FeaturesSection,
1718
type HeroSection,
1819
type Metadata,
1920
} from './solutions.utils'
20-
import type { MPCSectionProps } from 'components/Solutions/MPCSection'
2121

22-
import { PRODUCT_SHORTNAMES } from 'shared-data/products'
23-
import { tweets } from 'shared-data'
2422
import { useBreakpoint } from 'common'
2523
import { useSendTelemetryEvent } from 'lib/telemetry'
24+
import { tweets } from 'shared-data'
25+
import { PRODUCT_SHORTNAMES } from 'shared-data/products'
2626

2727
const AuthVisual = dynamic(() => import('components/Products/AuthVisual'))
2828
const ComputePricingCalculator = dynamic(
@@ -480,22 +480,20 @@ const data: () => {
480480
heading: 'Fun projects built with Supabase',
481481
subheading: 'Discover what our community has to say about their Supabase experience.',
482482
ctas: (
483-
<>
484-
<Button asChild size="small" type="default">
485-
<Link
486-
href="https://github.com/supabase/supabase/discussions"
487-
target="_blank"
488-
tabIndex={-1}
489-
>
490-
GitHub discussions
491-
</Link>
492-
</Button>
493-
<Button asChild type="default" size="small">
494-
<Link href={'https://discord.supabase.com/'} target="_blank" tabIndex={-1}>
495-
Discord
496-
</Link>
497-
</Button>
498-
</>
483+
<Button asChild type="default" size="small" icon={<IconDiscord />}>
484+
<Link
485+
href={'https://discord.supabase.com/'}
486+
target="_blank"
487+
tabIndex={-1}
488+
onClick={() =>
489+
sendTelemetryEvent({
490+
action: 'homepage_discord_button_clicked',
491+
})
492+
}
493+
>
494+
Join us on Discord
495+
</Link>
496+
</Button>
499497
),
500498
tweets: tweets.slice(0, 18),
501499
},

apps/www/pages/support-policy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Limited technical support is accessible for Supabase customers utilizing paid Su
5656

5757
Supabase support staff will only address support requests received through the official channels mentioned earlier. However, community channels may exist for peer-to-peer support and discussions. This is support provided by volunteers that contribute to the Supabase community.
5858

59-
For questions related to debugging code, we recommend reaching out on **[GitHub Discussions](https://github.com/supabase/supabase/discussions)** or on **[Discord](https://discord.gg/rxTfewPvys)**. The community is made up of experienced developers who may be able to provide guidance and support with code-related issues.
59+
For questions related to debugging code, we recommend reaching out to our **[Discord community](https://discord.supabase.com)**. The community is made up of experienced developers who may be able to provide guidance and support with code-related issues.
6060

6161
To get the most helpful response from the community, providing precise and detailed information about your problem and any error messages you may be encountering is important. Be sure to **include any relevant code snippets explaining how to reproduce** the issue in your message.
6262

packages/common/telemetry-constants.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -700,17 +700,6 @@ export interface HomepageGitHubButtonClickedEvent {
700700
action: 'homepage_github_button_clicked'
701701
}
702702

703-
/**
704-
* User clicked the GitHub Discussions button in the homepage community section.
705-
*
706-
* @group Events
707-
* @source www
708-
* @page /
709-
*/
710-
export interface HomepageGitHubDiscussionsButtonClickedEvent {
711-
action: 'homepage_github_discussions_button_clicked'
712-
}
713-
714703
/**
715704
* User clicked the Discord button in the homepage community section.
716705
*
@@ -2069,7 +2058,6 @@ export type TelemetryEvent =
20692058
| WwwPricingPlanCtaClickedEvent
20702059
| EventPageCtaClickedEvent
20712060
| HomepageGitHubButtonClickedEvent
2072-
| HomepageGitHubDiscussionsButtonClickedEvent
20732061
| HomepageDiscordButtonClickedEvent
20742062
| HomepageCustomerStoryCardClickedEvent
20752063
| HomepageProjectTemplateCardClickedEvent

0 commit comments

Comments
 (0)