Skip to content

Commit 46d3ef5

Browse files
ericyangpanclaude
andcommitted
refactor(product): replace ProductLinks with dedicated ResourceLinks and CommunityLinks components
- Create new ResourceLinks component for download, changelog, pricing, MCP, and issue tracker links - Refactor CommunityLinks to use i18n translations for all link titles and descriptions - Update LinkCard to handle null/empty href with grayed-out placeholder rendering - Simplify LinkCardGrid to display all links including empty ones as placeholders - Remove hasAnyPlatformUrl helper from PlatformLinks (handled by LinkCard now) - Add title props to ComparisonTable columns for tooltip support - Update all product detail pages (CLI, Extension, IDE, Model Provider) to use new link components - Update all 14 locales with new communityLinks and resourceLinks translation keys - Update component relationship documentation - Format code and fix JSON formatting issues Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1fe63e0 commit 46d3ef5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+2023
-1335
lines changed

docs/COMPONENT-RELATIONSHIP-DIAGRAM.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ src/
2929
├── product/ [Product-related components]
3030
│ ├── ProductHero.tsx [Product header info]
3131
│ ├── ProductPricing.tsx [Pricing section]
32-
│ ├── ProductLinks.tsx [Resource/community links]
32+
│ ├── ResourceLinks.tsx [Resource links (download, changelog, pricing, mcp, issue)]
33+
│ ├── CommunityLinks.tsx [Community links (linkedin, twitter, github, youtube, discord, reddit, blog)]
3334
│ ├── ProductCommands.tsx[Install/launch commands]
3435
│ ├── RelatedProducts.tsx[Related products grid]
3536
│ ├── LinkCard.tsx [Link card component]
@@ -61,7 +62,6 @@ src/
6162
├── ComparisonTable.tsx [Comparison data table]
6263
├── CollectionScrollbar.tsx [Horizontal scroll for collections]
6364
├── CollectionSection.tsx [Collection section wrapper]
64-
├── CommunityLinks.tsx [Community links (Twitter, Discord, etc.)]
6565
├── MarkdownContent.tsx [Markdown content renderer]
6666
├── MDXComponents.tsx [MDX component mappings]
6767
├── ModelBenchmarks.tsx [Model benchmark scores]
@@ -114,7 +114,8 @@ src/
114114
<ProductHero {...product} />
115115
<RelatedProducts products={...} />
116116
<ProductPricing pricing={...} />
117-
<ProductLinks links={...} />
117+
<ResourceLinks resourceUrls={...} title="Resources" links={...} />
118+
<CommunityLinks communityUrls={...} title="Community" links={...} />
118119
<ProductCommands commands={...} />
119120
<BackToNavigation href="/ides" title="All IDEs" />
120121
</PageLayout>
@@ -172,10 +173,10 @@ src/
172173
│ │ └── PlatformIcons │
173174
│ ├── RelatedProducts → LinkCard │
174175
│ ├── ProductPricing │
175-
│ ├── ProductLinks │
176+
│ ├── ResourceLinks → LinkCardGrid → LinkCard │
177+
│ ├── CommunityLinks → LinkCardGrid → LinkCard → PlatformIcons │
176178
│ ├── ProductCommands → CopyButton │
177179
│ ├── PlatformLinks → PlatformIcons │
178-
│ ├── CommunityLinks → PlatformIcons │
179180
│ ├── ModelSpecifications │
180181
│ ├── ModelBenchmarks │
181182
│ ├── VendorProducts → LinkCard │
@@ -199,9 +200,9 @@ src/
199200

200201
| Page Type | Layout | Components Used |
201202
|-----------|--------|-----------------|
202-
| IDE Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ProductLinks, ProductCommands, BackToNavigation |
203-
| CLI Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ProductLinks, ProductCommands, BackToNavigation |
204-
| Extension Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ProductLinks, ProductCommands, BackToNavigation |
203+
| IDE Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ResourceLinks, CommunityLinks, ProductCommands, BackToNavigation |
204+
| CLI Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ResourceLinks, CommunityLinks, ProductCommands, BackToNavigation |
205+
| Extension Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ResourceLinks, CommunityLinks, ProductCommands, BackToNavigation |
205206
| Model Detail | PageLayout | Breadcrumb, ProductHero, PlatformLinks, ModelSpecifications, ModelBenchmarks, BackToNavigation |
206207
| Vendor Detail | PageLayout | Breadcrumb, ProductHero, CommunityLinks, VendorProducts, VendorModels, BackToNavigation |
207208
| Provider Detail | PageLayout | Breadcrumb, ProductHero, PlatformLinks, CommunityLinks, BackToNavigation |

manifests/models/claude-opus-4-1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
"terminalBench": 0.631,
5959
"sciCode": null,
6060
"liveCodeBench": 46.9,
61-
"mmmu": null,
61+
"mmmu": 77.1,
6262
"mmmuPro": null,
63-
"webDevArena": null
63+
"webDevArena": 147.9
6464
},
6565
"platformUrls": {
6666
"huggingface": null,

manifests/models/claude-opus-4.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
"capabilities": ["function-calling", "tool-choice", "structured-outputs"],
5656
"benchmarks": {
5757
"sweBench": 67.6,
58-
"terminalBench": 0.578,
59-
"sciCode": null,
60-
"liveCodeBench": 56.6,
61-
"mmmu": null,
58+
"terminalBench": 0.351,
59+
"sciCode": 1.5,
60+
"liveCodeBench": 46.9,
61+
"mmmu": 76.5,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/claude-sonnet-4-5.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
"capabilities": ["function-calling", "tool-choice", "structured-outputs"],
5656
"benchmarks": {
5757
"sweBench": 70.6,
58-
"terminalBench": 0.428,
58+
"terminalBench": 0.42,
5959
"sciCode": null,
60-
"liveCodeBench": 47.1,
61-
"mmmu": null,
60+
"liveCodeBench": 46.9,
61+
"mmmu": 77.8,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/claude-sonnet-4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"terminalBench": 0.428,
5959
"sciCode": null,
6060
"liveCodeBench": 55.9,
61-
"mmmu": null,
61+
"mmmu": 74.4,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/gemini-2-5-flash.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
"sweBench": 28.73,
5858
"terminalBench": 0.171,
5959
"sciCode": null,
60-
"liveCodeBench": 61.9,
61-
"mmmu": null,
60+
"liveCodeBench": 60.6,
61+
"mmmu": 79.7,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/gemini-2-5-pro.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
"benchmarks": {
5757
"sweBench": 53.6,
5858
"terminalBench": 0.326,
59-
"sciCode": null,
60-
"liveCodeBench": 73.6,
61-
"mmmu": null,
59+
"sciCode": 1.5,
60+
"liveCodeBench": 71.8,
61+
"mmmu": 79.6,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/glm-4-6.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"terminalBench": 0.245,
5959
"sciCode": null,
6060
"liveCodeBench": null,
61-
"mmmu": null,
61+
"mmmu": 68.0,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/gpt-4o.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
"terminalBench": 0.401,
5959
"sciCode": 1.5,
6060
"liveCodeBench": 29.5,
61-
"mmmu": null,
61+
"mmmu": 70.7,
6262
"mmmuPro": null,
63-
"webDevArena": null
63+
"webDevArena": 146.7
6464
},
6565
"platformUrls": {
6666
"huggingface": null,

manifests/models/gpt-5-1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
"inputModalities": ["text"],
5555
"capabilities": ["function-calling", "tool-choice", "structured-outputs", "reasoning"],
5656
"benchmarks": {
57-
"sweBench": null,
58-
"terminalBench": 0.47600000000000003,
57+
"sweBench": 66.0,
58+
"terminalBench": 0.476,
5959
"sciCode": null,
6060
"liveCodeBench": null,
61-
"mmmu": null,
61+
"mmmu": 76.0,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

0 commit comments

Comments
 (0)