From d22f121ef3754020e69818a37d51dc6d8ec4a1b0 Mon Sep 17 00:00:00 2001 From: Rituja Sinha Date: Wed, 20 May 2026 20:13:07 +0530 Subject: [PATCH] feat: add getting started prompt for new users --- src/app/(app)/dashboard/page.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/app/(app)/dashboard/page.tsx b/src/app/(app)/dashboard/page.tsx index e3be321..1dc4c7c 100644 --- a/src/app/(app)/dashboard/page.tsx +++ b/src/app/(app)/dashboard/page.tsx @@ -46,6 +46,7 @@ export default async function DashboardPage() { const xp = profile?.xp ?? 0; const level = profile?.level ?? 0; + const isNewUser = xp === 0 && (profile?.github_total_merges ?? 0) === 0; const { needed, next } = xpToNextLevel(xp); const nextLevel = next ?? level; @@ -148,6 +149,17 @@ export default async function DashboardPage() {
+ {isNewUser && ( +
+

Getting Started

+ +
    +
  • 1. Connect your GitHub
  • +
  • 2. Browse and claim an issue
  • +
  • 3. Submit a PR
  • +
+
+ )} {/* Header */}