Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

feat(onboarding): add GitHub to acquisition channels (#3612)

Jiayuan Zhang57894f29b6a4
diff --git a/packages/core/onboarding/types.ts b/packages/core/onboarding/types.ts
index 175d677d4b..7c42e37572 100644
--- a/packages/core/onboarding/types.ts
+++ b/packages/core/onboarding/types.ts
@@ -27,6 +27,7 @@ export type Source =
| "social_x"
| "social_linkedin"
| "social_youtube"
+ | "social_github"
| "social_other"
| "blog_newsletter"
| "ai_assistant"
diff --git a/packages/views/locales/en/onboarding.json b/packages/views/locales/en/onboarding.json
index 1f2bf35c1f..50e3622402 100644
--- a/packages/views/locales/en/onboarding.json
+++ b/packages/views/locales/en/onboarding.json
@@ -51,6 +51,7 @@
"social_x": "X / Twitter",
"social_linkedin": "LinkedIn",
"social_youtube": "YouTube",
+ "social_github": "GitHub",
"social_misc": "Other social",
"blog_newsletter": "Blog / newsletter",
"ai_assistant": "ChatGPT / Claude / Cursor",
diff --git a/packages/views/locales/ko/onboarding.json b/packages/views/locales/ko/onboarding.json
index 20b1076891..9f42ce74ee 100644
--- a/packages/views/locales/ko/onboarding.json
+++ b/packages/views/locales/ko/onboarding.json
@@ -51,6 +51,7 @@
"social_x": "X / Twitter",
"social_linkedin": "LinkedIn",
"social_youtube": "YouTube",
+ "social_github": "GitHub",
"social_misc": "기타 소셜",
"blog_newsletter": "블로그 / 뉴스레터",
"ai_assistant": "ChatGPT / Claude / Cursor",
diff --git a/packages/views/locales/zh-Hans/onboarding.json b/packages/views/locales/zh-Hans/onboarding.json
index 261914c61d..f4f98afcfa 100644
--- a/packages/views/locales/zh-Hans/onboarding.json
+++ b/packages/views/locales/zh-Hans/onboarding.json
@@ -51,6 +51,7 @@
"social_x": "X / Twitter",
"social_linkedin": "LinkedIn",
"social_youtube": "YouTube",
+ "social_github": "GitHub",
"social_misc": "其他社区",
"blog_newsletter": "博客 / Newsletter",
"ai_assistant": "ChatGPT / Claude / Cursor 推荐",
diff --git a/packages/views/onboarding/components/brand-icons.tsx b/packages/views/onboarding/components/brand-icons.tsx
index f41a4a410a..0399619db6 100644
--- a/packages/views/onboarding/components/brand-icons.tsx
+++ b/packages/views/onboarding/components/brand-icons.tsx
@@ -49,6 +49,17 @@ export function LinkedInIcon(props: IconProps) {
);
}
+export function GitHubIcon(props: IconProps) {
+ return (
+ <svg viewBox="0 0 24 24" aria-hidden {...props}>
+ <path
+ d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.1.79-.25.79-.55v-2.02c-3.2.7-3.87-1.36-3.87-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.04-.71.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.05 0 0 .96-.31 3.16 1.18a10.9 10.9 0 0 1 2.87-.39c.97 0 1.95.13 2.87.39 2.2-1.49 3.16-1.18 3.16-1.18.62 1.59.23 2.76.11 3.05.74.81 1.18 1.84 1.18 3.1 0 4.42-2.69 5.39-5.26 5.68.41.36.78 1.06.78 2.13v3.16c0 .31.21.66.8.55A11.51 11.51 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5z"
+ fill="currentColor"
+ />
+ </svg>
+ );
+}
+
export function YouTubeIcon(props: IconProps) {
return (
<svg viewBox="0 0 24 24" aria-hidden {...props}>
diff --git a/packages/views/onboarding/steps/step-source.tsx b/packages/views/onboarding/steps/step-source.tsx
index 7cb3120ccd..a9f9e732b4 100644
--- a/packages/views/onboarding/steps/step-source.tsx
+++ b/packages/views/onboarding/steps/step-source.tsx
@@ -16,6 +16,7 @@ import {
OpenAIIcon,
XIcon,
YouTubeIcon,
+ GitHubIcon,
} from "../components/brand-icons";
import { StepQuestion, type QuestionOption } from "./step-question";
import { useT } from "../../i18n";
@@ -45,6 +46,7 @@ export function StepSource({
{ slug: "social_x", icon: <XIcon className="h-[15px] w-[15px]" />, label: t(($) => $.questions.source.social_x) },
{ slug: "social_linkedin", icon: <LinkedInIcon className="h-[18px] w-[18px]" />, label: t(($) => $.questions.source.social_linkedin) },
{ slug: "social_youtube", icon: <YouTubeIcon className="h-[18px] w-[18px]" />, label: t(($) => $.questions.source.social_youtube) },
+ { slug: "social_github", icon: <GitHubIcon className="h-[18px] w-[18px]" />, label: t(($) => $.questions.source.social_github) },
{ slug: "social_other", icon: <Globe className="h-4 w-4" />, label: t(($) => $.questions.source.social_misc) },
{ slug: "blog_newsletter", icon: <Newspaper className="h-4 w-4" />, label: t(($) => $.questions.source.blog_newsletter) },
{ slug: "ai_assistant", icon: <OpenAIIcon className="h-[16px] w-[16px]" />, label: t(($) => $.questions.source.ai_assistant) },