Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ out/
# Environment files — NEVER commit these
.env
.env.local
.env.local*
.env.production
.env.*.local

Expand Down
11 changes: 11 additions & 0 deletions src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ const ContributionHeatmap = dynamic(
{ ssr: false, loading: () => <SkeletonCard /> },
);

const RepoContributionDistribution = dynamic(
() => import("@/components/RepoContributionDistribution"),
{
ssr: false,
loading: () => <SkeletonCard />,
},
);

const PRMetrics = dynamic(() => import("@/components/PRMetrics"), {
ssr: false,
loading: () => <PRMetricsSkeleton />,
Expand Down Expand Up @@ -173,6 +181,9 @@ export default async function DashboardPage() {
<div className="w-full overflow-x-auto pb-2">
<ContributionHeatmap />
</div>
<LazyWidget fallback={<SkeletonCard />}>
<RepoContributionDistribution />
</LazyWidget>
<LazyWidget fallback={<SkeletonCard />}>
<ActivityRingChart />
</LazyWidget>
Expand Down
46 changes: 40 additions & 6 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
--destructive-foreground: #ffffff;
--shadow-soft: 0 12px 30px -20px rgba(37, 99, 235, 0.35);
--shadow-medium: 0 18px 35px -24px rgba(37, 99, 235, 0.4);
--chart-2: #22c55e;
--chart-3: #f97316;
--chart-4: #06b6d4;
--chart-5: #ec4899;
--chart-6: #eab308;
--chart-7: #8b5cf6;
--chart-8: #14b8a6;
}

.dark {
Expand Down Expand Up @@ -61,6 +68,13 @@
--destructive-foreground: #ffffff;
--shadow-soft: 0 16px 34px -24px rgba(2, 6, 23, 0.8);
--shadow-medium: 0 24px 45px -28px rgba(2, 6, 23, 0.85);
--chart-2: #4ade80;
--chart-3: #fb923c;
--chart-4: #22d3ee;
--chart-5: #f472b6;
--chart-6: #facc15;
--chart-7: #a78bfa;
--chart-8: #2dd4bf;
}

html, body {
Expand Down Expand Up @@ -138,12 +152,32 @@ body {
scrollbar-width: thin;
scrollbar-color: var(--muted-foreground) transparent;
}
.scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: var(--muted-foreground); border-radius: 9999px; }
.scrollbar-thin::-webkit-scrollbar-thumb:hover { background: var(--muted-foreground); }
.dark .scrollbar-thin::-webkit-scrollbar-thumb { background: var(--muted-foreground); }
.dark .scrollbar-thin::-webkit-scrollbar-thumb:hover { background: var(--muted-foreground); }

.scrollbar-thin::-webkit-scrollbar {
width: 6px;
height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
background: var(--muted-foreground);
border-radius: 9999px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
background: var(--muted-foreground);
}

.dark .scrollbar-thin::-webkit-scrollbar-thumb {
background: var(--muted-foreground);
}

.dark .scrollbar-thin::-webkit-scrollbar-thumb:hover {
background: var(--muted-foreground);
}

@keyframes fadeUp {
from {
Expand Down
Loading
Loading