diff --git a/src/app/leaderboard/page.tsx b/src/app/leaderboard/page.tsx index b78b24560..10a575307 100644 --- a/src/app/leaderboard/page.tsx +++ b/src/app/leaderboard/page.tsx @@ -104,14 +104,14 @@ async function LeaderboardTable({ title={ hasFilters ? "No leaderboard results for these filters" - : "No public profiles yet" + : "No leaderboard data available" } description={ hasFilters ? "Try a broader language or time filter, or clear filters to view the full leaderboard." : "No public profiles yet - be the first to enable yours in Settings!" } - actionLabel="Go to Settings" + actionLabel="Sync Dashboard" actionHref="/dashboard/settings" /> ) : ( diff --git a/src/components/GoalTracker.tsx b/src/components/GoalTracker.tsx index 387821320..4050b2e1c 100644 --- a/src/components/GoalTracker.tsx +++ b/src/components/GoalTracker.tsx @@ -524,7 +524,7 @@ export default function GoalTracker() {
+ ) : metrics && metrics.total === 0 && (!metrics.gitlab || metrics.gitlab.total === 0) ? ( + ) : activeTab === "authored" ? (
{/* GitHub Stats */} diff --git a/src/components/TopRepos.tsx b/src/components/TopRepos.tsx index baacc0268..0e602228a 100644 --- a/src/components/TopRepos.tsx +++ b/src/components/TopRepos.tsx @@ -7,6 +7,7 @@ import type { RepoHealthScore } from "@/types/repo-health"; import RepoHealthPanel from "@/components/RepoHealthPanel"; import RepoActivityDrawer from "@/components/RepoActivityDrawer"; import { Search, Bookmark } from "lucide-react"; +import EmptyState from "@/components/EmptyState"; interface RepoItemProps { repo: Repo; @@ -537,26 +538,13 @@ export default function TopRepos() {
) : repos.length === 0 ? ( -
-
📦
- -

- No repositories found -

- -

- Push your first commit on GitHub to get started and see repository activity here. -

- - - Create Repository - -
+ ) : ( <>