Skip to content
Draft
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
38 changes: 38 additions & 0 deletions data/$schemas/homepage.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Homepage Configuration",
"description": "Curated data selections used by the homepage.",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"modelIntelligenceSeries": {
"type": "array",
"items": {
"$ref": "#/$defs/modelIntelligenceSeries"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": ["$schema", "modelIntelligenceSeries"],
"additionalProperties": false,
"$defs": {
"modelIntelligenceSeries": {
"type": "object",
"properties": {
"vendor": {
"type": "string",
"minLength": 1
},
"seriesId": {
"type": "string",
"pattern": "^[a-z0-9-]+$"
}
},
"required": ["vendor", "seriesId"],
"additionalProperties": false
}
}
}
54 changes: 27 additions & 27 deletions data/data-health.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"asOf": "2026-08-03",
"asOf": "2026-08-13",
"thresholds": {
"models": 30,
"providers": 30,
Expand All @@ -15,7 +15,7 @@
"verifiedRecords": 253,
"provenanceComplete": 253,
"staleVerifiedRecords": 0,
"translationPlaceholderValues": 300,
"translationPlaceholderValues": 311,
"danglingRelationships": 0,
"modelBenchmarkCoverage": 9.5,
"productsWithPricing": 66,
Expand Down Expand Up @@ -73,58 +73,58 @@
},
"translationsByLocale": {
"de": {
"totalStrings": 483,
"matchingEnglish": 39,
"matchingEnglishPercent": 8.1
"totalStrings": 504,
"matchingEnglish": 40,
"matchingEnglishPercent": 7.9
},
"es": {
"totalStrings": 483,
"matchingEnglish": 25,
"totalStrings": 504,
"matchingEnglish": 26,
"matchingEnglishPercent": 5.2
},
"fr": {
"totalStrings": 483,
"matchingEnglish": 36,
"matchingEnglishPercent": 7.5
"totalStrings": 504,
"matchingEnglish": 37,
"matchingEnglishPercent": 7.3
},
"id": {
"totalStrings": 483,
"matchingEnglish": 30,
"totalStrings": 504,
"matchingEnglish": 31,
"matchingEnglishPercent": 6.2
},
"ja": {
"totalStrings": 483,
"matchingEnglish": 23,
"totalStrings": 504,
"matchingEnglish": 24,
"matchingEnglishPercent": 4.8
},
"ko": {
"totalStrings": 483,
"matchingEnglish": 23,
"totalStrings": 504,
"matchingEnglish": 24,
"matchingEnglishPercent": 4.8
},
"pt": {
"totalStrings": 483,
"matchingEnglish": 31,
"matchingEnglishPercent": 6.4
"totalStrings": 504,
"matchingEnglish": 32,
"matchingEnglishPercent": 6.3
},
"ru": {
"totalStrings": 483,
"matchingEnglish": 23,
"totalStrings": 504,
"matchingEnglish": 24,
"matchingEnglishPercent": 4.8
},
"tr": {
"totalStrings": 483,
"matchingEnglish": 26,
"totalStrings": 504,
"matchingEnglish": 27,
"matchingEnglishPercent": 5.4
},
"zh-Hans": {
"totalStrings": 483,
"matchingEnglish": 22,
"totalStrings": 504,
"matchingEnglish": 23,
"matchingEnglishPercent": 4.6
},
"zh-Hant": {
"totalStrings": 483,
"matchingEnglish": 22,
"totalStrings": 504,
"matchingEnglish": 23,
"matchingEnglishPercent": 4.6
}
},
Expand Down
29 changes: 29 additions & 0 deletions data/homepage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "./$schemas/homepage.schema.json",
"modelIntelligenceSeries": [
{
"vendor": "Anthropic",
"seriesId": "claude-opus"
},
{
"vendor": "OpenAI",
"seriesId": "gpt-sol"
},
{
"vendor": "Moonshot",
"seriesId": "kimi"
},
{
"vendor": "MiniMax",
"seriesId": "minimax-m"
},
{
"vendor": "DeepSeek",
"seriesId": "deepseek"
},
{
"vendor": "Z.ai",
"seriesId": "glm"
}
]
}
26 changes: 13 additions & 13 deletions docs/DATA-HEALTH.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Data Health Report

Snapshot date: 2026-08-03. Regenerate with `pnpm data-health:report`.
Snapshot date: 2026-08-13. Regenerate with `pnpm data-health:report`.

## Scorecard

Expand All @@ -11,7 +11,7 @@ Snapshot date: 2026-08-03. Regenerate with `pnpm data-health:report`.
| Verified records | 253 |
| Verified with complete provenance | 253 |
| Stale verified records | 0 |
| Non-English values identical to English | 300 |
| Non-English values identical to English | 311 |
| Dangling product relationships | 0 |
| Model benchmark coverage | 9.5% |
| Products with pricing | 66/66 |
Expand All @@ -37,17 +37,17 @@ Exact English matches are a triage signal; product names and technical terms can

| Locale | Comparable strings | Exact English matches | Match rate |
| --- | ---: | ---: | ---: |
| de | 483 | 39 | 8.1% |
| es | 483 | 25 | 5.2% |
| fr | 483 | 36 | 7.5% |
| id | 483 | 30 | 6.2% |
| ja | 483 | 23 | 4.8% |
| ko | 483 | 23 | 4.8% |
| pt | 483 | 31 | 6.4% |
| ru | 483 | 23 | 4.8% |
| tr | 483 | 26 | 5.4% |
| zh-Hans | 483 | 22 | 4.6% |
| zh-Hant | 483 | 22 | 4.6% |
| de | 504 | 40 | 7.9% |
| es | 504 | 26 | 5.2% |
| fr | 504 | 37 | 7.3% |
| id | 504 | 31 | 6.2% |
| ja | 504 | 24 | 4.8% |
| ko | 504 | 24 | 4.8% |
| pt | 504 | 32 | 6.3% |
| ru | 504 | 24 | 4.8% |
| tr | 504 | 27 | 5.4% |
| zh-Hans | 504 | 23 | 4.6% |
| zh-Hant | 504 | 23 | 4.6% |

## Backlog by Issue Type

Expand Down
12 changes: 12 additions & 0 deletions docs/I18N-ARCHITECTURE-RULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,18 @@ function Breadcrumb() {

---

## Chinese Typography

- Simplified and Traditional Chinese interfaces automatically add typographic spacing between
Han characters and adjacent half-width Latin letters or Arabic numerals with
`text-autospace: normal` on the document language root.
- This global rule also covers generated values such as localized dates and counts. Do not add
literal ASCII spaces to translations or formatters solely to create this visual spacing.
- Literal content in `code`, `pre`, `kbd`, and `samp` is excluded so commands and source text keep
their exact spacing.

---

## Conclusion

These rules establish a clear, scalable architecture for i18n translations that:
Expand Down
35 changes: 35 additions & 0 deletions src/app/[locale]/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ a {
font-weight: 400;
}

/* Keep Han text readable next to half-width letters and numerals, including dynamic dates. */
html:lang(zh) {
text-autospace: normal;
}

/* Literal text must retain its exact spacing. */
code,
pre,
kbd,
samp {
text-autospace: no-autospace;
}

h1,
h2,
h3,
Expand Down Expand Up @@ -128,6 +141,28 @@ strong {
animation: fadeIn 200ms ease-out;
}

.homepage-activity-list {
scrollbar-color: var(--color-border-strong) transparent;
scrollbar-gutter: stable;
scrollbar-width: thin;
}

.homepage-activity-list::-webkit-scrollbar {
width: 6px;
}

.homepage-activity-list::-webkit-scrollbar-track {
background: var(--color-hover);
}

.homepage-activity-list::-webkit-scrollbar-thumb {
background: var(--color-border-strong);
}

.homepage-price-chart .recharts-surface {
overflow: visible;
}

/* cmdk overrides */
[cmdk-root] {
font-family: var(--font-ibm-plex-mono), monospace;
Expand Down
Loading
Loading