docs: complete agricultural history rollout
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-15 16:11:44 +02:00
parent 6b996d42f5
commit 48c0d21fed
5 changed files with 66 additions and 9 deletions
@@ -201,7 +201,7 @@ export function SourceCatalogPanel({ datasets }: SourceCatalogPanelProps): JSX.E
<article>
<strong>Landbouwgebruikspercelen</strong>
<span>{agricultureDatasets.length} definitieve jaargangen{agricultureYears.length ? ` · ${Math.min(...agricultureYears)}-${Math.max(...agricultureYears)}` : ''}</span>
<p>Oppervlakte en officiele hoofdteeltgroepen zijn historisch vergelijkbaar; perceelidentiteiten blijven bewust niet gekoppeld tussen jaren.</p>
<p>Oppervlakte en officiële hoofdteeltgroepen zijn historisch vergelijkbaar; perceelidentiteiten blijven bewust niet gekoppeld tussen jaren.</p>
</article>
) : null}
</div>
+2 -2
View File
@@ -62,7 +62,7 @@ const DATA_THEMES: DataTheme[] = [
id: 'agriculture',
label: 'Landbouw',
shortLabel: 'Landbouwgebruik',
description: 'Jaarlijkse officiele landbouwgebruikspercelen en hoofdteeltgroepen.',
description: 'Jaarlijkse officiële landbouwgebruikspercelen en hoofdteeltgroepen.',
tokens: ['agriculture', 'agricultural', 'landbouw', 'landbouwgebruik', 'agpa'],
},
{
@@ -144,7 +144,7 @@ function temporalSeriesLabel(items: DatasetCreateResponse[]): string {
return configuredLabel
}
const first = items[0]
const source = first?.source_name ?? first?.source ?? 'Tijdreeks'
const source = first ? getDatasetDisplayName(first) : 'Tijdreeks'
const firstYear = first?.observed_at ? new Date(first.observed_at).getUTCFullYear() : null
const last = items[items.length - 1]
const lastYear = last?.observed_at ? new Date(last.observed_at).getUTCFullYear() : null