From df8f188c2a867a017e3335b09feb8fac07665539 Mon Sep 17 00:00:00 2001 From: sykp241095 Date: Tue, 31 Mar 2026 12:33:35 +0800 Subject: [PATCH 1/8] fix: unify page width to 1400px + center with mx-auto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Standardize all analysis pages to consistent max-w-[1400px] mx-auto layout: - Repo analysis: 1280px → 1400px, added mx-auto + lg:px-12 - Org analysis: 1280px → 1400px, added mx-auto + lg:px-12 - Compare page: 1280px → 1400px, added mx-auto + lg:px-12 - Developer analysis: 1280px → 1400px, added lg:px-12 - Collections list: 1280px → 1400px, added lg:px-12 All pages now match the collection detail page width (1400px). --- apps/web/app/analyze-user/[login]/layout.tsx | 2 +- apps/web/app/analyze-user/[login]/page.tsx | 2 +- apps/web/app/analyze/(org)/[owner]/layout.tsx | 2 +- apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx | 2 +- apps/web/app/collections/content.tsx | 2 +- .../app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/app/analyze-user/[login]/layout.tsx b/apps/web/app/analyze-user/[login]/layout.tsx index a0c0ae5d53..da16bc7b8a 100644 --- a/apps/web/app/analyze-user/[login]/layout.tsx +++ b/apps/web/app/analyze-user/[login]/layout.tsx @@ -15,7 +15,7 @@ export default function UserAnalyzeLayout ({ children }: { children: React.React
-
{children}
+
{children}
diff --git a/apps/web/app/analyze-user/[login]/page.tsx b/apps/web/app/analyze-user/[login]/page.tsx index c79fe2a0f5..6d5815728c 100644 --- a/apps/web/app/analyze-user/[login]/page.tsx +++ b/apps/web/app/analyze-user/[login]/page.tsx @@ -17,7 +17,7 @@ export default async function Page ({ params }: { params: Promise<{ login: strin { name: 'Analyze', url: '/analyze' }, { name: displayName }, ]} /> -
+
-
{children}
+
{children}
diff --git a/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx b/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx index c0c852423a..79fb2c5a46 100644 --- a/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx +++ b/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx @@ -15,7 +15,7 @@ export default function RepoAnalyzeLayout({ children }: { children: React.ReactN
-
{children}
+
{children}
diff --git a/apps/web/app/collections/content.tsx b/apps/web/app/collections/content.tsx index 4e8202728f..f3c2215d4f 100644 --- a/apps/web/app/collections/content.tsx +++ b/apps/web/app/collections/content.tsx @@ -386,7 +386,7 @@ export function CollectionsList({ }, [previewItems]); return ( -
+

Explore Collections

diff --git a/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx b/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx index c0c852423a..79fb2c5a46 100644 --- a/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx +++ b/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx @@ -15,7 +15,7 @@ export default function RepoAnalyzeLayout({ children }: { children: React.ReactN
-
{children}
+
{children}
From e10915f0e6552f62f27671fb9111e847472bff1c Mon Sep 17 00:00:00 2001 From: sykp241095 Date: Tue, 31 Mar 2026 12:38:48 +0800 Subject: [PATCH 2/8] =?UTF-8?q?fix:=20widen=20layouts=20-=20collection=20d?= =?UTF-8?q?etail=20removes=20max-w,=20others=20=E2=86=92=201600px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Collection detail: remove max-w entirely (sidebar layout handles width) - Repo/Org/Compare/Developer/Collection list: 1400px → 1600px - Reduces wasted whitespace on 1920+ screens --- apps/web/app/analyze-user/[login]/layout.tsx | 2 +- apps/web/app/analyze-user/[login]/page.tsx | 2 +- apps/web/app/analyze/(org)/[owner]/layout.tsx | 2 +- apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx | 2 +- apps/web/app/collections/[slug]/content.tsx | 2 +- apps/web/app/collections/content.tsx | 2 +- .../app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/web/app/analyze-user/[login]/layout.tsx b/apps/web/app/analyze-user/[login]/layout.tsx index da16bc7b8a..074e0e47bd 100644 --- a/apps/web/app/analyze-user/[login]/layout.tsx +++ b/apps/web/app/analyze-user/[login]/layout.tsx @@ -15,7 +15,7 @@ export default function UserAnalyzeLayout ({ children }: { children: React.React
-
{children}
+
{children}
diff --git a/apps/web/app/analyze-user/[login]/page.tsx b/apps/web/app/analyze-user/[login]/page.tsx index 6d5815728c..c59e0839f3 100644 --- a/apps/web/app/analyze-user/[login]/page.tsx +++ b/apps/web/app/analyze-user/[login]/page.tsx @@ -17,7 +17,7 @@ export default async function Page ({ params }: { params: Promise<{ login: strin { name: 'Analyze', url: '/analyze' }, { name: displayName }, ]} /> -
+
-
{children}
+
{children}
diff --git a/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx b/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx index 79fb2c5a46..12ac3cb3b4 100644 --- a/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx +++ b/apps/web/app/analyze/(repo)/[owner]/[repo]/layout.tsx @@ -15,7 +15,7 @@ export default function RepoAnalyzeLayout({ children }: { children: React.ReactN
-
{children}
+
{children}
diff --git a/apps/web/app/collections/[slug]/content.tsx b/apps/web/app/collections/[slug]/content.tsx index 2f436a3545..9555d99b81 100644 --- a/apps/web/app/collections/[slug]/content.tsx +++ b/apps/web/app/collections/[slug]/content.tsx @@ -696,7 +696,7 @@ function HistoryRankSection({ collectionName, collectionId }: { collectionName: export function CollectionDetail({ collection, initialRankingData, faqItems }: { collection: Collection; initialRankingData?: CollectionQueryResponse | null; faqItems?: { question: string; answer: string }[] }) { return ( -
+
+

Explore Collections

diff --git a/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx b/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx index 79fb2c5a46..12ac3cb3b4 100644 --- a/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx +++ b/apps/web/app/compare/[owner1]/[repo1]/[owner2]/[repo2]/layout.tsx @@ -15,7 +15,7 @@ export default function RepoAnalyzeLayout({ children }: { children: React.ReactN
-
{children}
+
{children}
From 7b1f3e3741675e8f14dfdf2e2b4463f2f63ac405 Mon Sep 17 00:00:00 2001 From: sykp241095 Date: Tue, 31 Mar 2026 12:41:47 +0800 Subject: [PATCH 3/8] fix: make collection tables full-width to fill container Tables were using min-w-[860px] without w-full, causing them to only size to content width and leaving empty space on wide screens. --- apps/web/app/collections/[slug]/content.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/app/collections/[slug]/content.tsx b/apps/web/app/collections/[slug]/content.tsx index 9555d99b81..fb92202280 100644 --- a/apps/web/app/collections/[slug]/content.tsx +++ b/apps/web/app/collections/[slug]/content.tsx @@ -247,7 +247,7 @@ function RankingTableSkeleton({ isMonthView }: { isMonthView: boolean }) {
- +
@@ -415,7 +415,7 @@ function MonthlyRankingSection({ collectionId, initialRankingData }: { collectio
-
+
From 879a9db867c5ff4bf00e1802d859cd2994e0288c Mon Sep 17 00:00:00 2001 From: sykp241095 Date: Tue, 31 Mar 2026 12:44:23 +0800 Subject: [PATCH 4/8] fix: expand Repository column to fill remaining table width Repository column now takes up remaining space (width: 99%) so Stars and Total columns sit closer to the right edge without a gap. --- apps/web/app/collections/[slug]/content.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/app/collections/[slug]/content.tsx b/apps/web/app/collections/[slug]/content.tsx index fb92202280..665cc5cfb0 100644 --- a/apps/web/app/collections/[slug]/content.tsx +++ b/apps/web/app/collections/[slug]/content.tsx @@ -254,7 +254,7 @@ function RankingTableSkeleton({ isMonthView }: { isMonthView: boolean }) { {isMonthView && ( )} - + @@ -426,7 +426,7 @@ function MonthlyRankingSection({ collectionId, initialRankingData }: { collectio {formatMonth(rows[0]?.last_month)} )} - Repository + Repository {activeMetric?.title} From 59a40d5be8bbf5dceac8ae082b6e57e5e1ccbfc6 Mon Sep 17 00:00:00 2001 From: sykp241095 Date: Tue, 31 Mar 2026 12:52:48 +0800 Subject: [PATCH 5/8] fix: remove visible breadcrumb navigation from repo and user analysis pages Keep BreadcrumbListJsonLd (invisible structured data for SEO) but remove the visible Breadcrumb component from repo analysis and developer analysis pages. --- apps/web/app/analyze-user/[login]/page.tsx | 10 +--------- apps/web/app/analyze/(repo)/[owner]/[repo]/page.tsx | 11 +---------- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/apps/web/app/analyze-user/[login]/page.tsx b/apps/web/app/analyze-user/[login]/page.tsx index c59e0839f3..194385345f 100644 --- a/apps/web/app/analyze-user/[login]/page.tsx +++ b/apps/web/app/analyze-user/[login]/page.tsx @@ -1,7 +1,6 @@ import { fetchOwnerInfo } from '@/app/analyze/(org)/[owner]/fetchOwner'; import AnalyzeOwnerContextProvider from '@/components/Context/Analyze/AnalyzeOwner'; import { BreadcrumbListJsonLd, PersonJsonLd } from '@/components/json-ld'; -import { Breadcrumb } from '@/components/Breadcrumb'; import { Metadata } from 'next'; import UserAnalyzeContent from './content'; @@ -17,14 +16,7 @@ export default async function Page ({ params }: { params: Promise<{ login: strin { name: 'Analyze', url: '/analyze' }, { name: displayName }, ]} /> -
- -
+ -
- -
+ Date: Tue, 31 Mar 2026 12:53:39 +0800 Subject: [PATCH 6/8] fix: widen collection sidebar from 300px to 380px Long collection names like 'Anomaly Detection Software' were being truncated. 380px gives enough room for most names. --- apps/web/app/collections/[slug]/sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/app/collections/[slug]/sidebar.tsx b/apps/web/app/collections/[slug]/sidebar.tsx index 681cdeb0f2..7ce4006597 100644 --- a/apps/web/app/collections/[slug]/sidebar.tsx +++ b/apps/web/app/collections/[slug]/sidebar.tsx @@ -37,7 +37,7 @@ export function CollectionSidebar({ return (