feat: include article details (DE/EN) in completeness check and make them editable

This commit is contained in:
Christian Vidal Wolf
2026-04-07 13:38:21 +02:00
parent 32c392d470
commit ec1b506341
3 changed files with 59 additions and 15 deletions
+3 -1
View File
@@ -21,6 +21,8 @@ export function DataCompleteness({ data, headers }: DataCompletenessProps) {
COLUMNS.TARIFF_CODE,
COLUMNS.COUNTRY_ORIGIN,
COLUMNS.RECOMMENDED_AGE,
COLUMNS.DETAILS_DE,
COLUMNS.DETAILS_EN,
COLUMNS.LONG_DE,
COLUMNS.LONG_EN,
COLUMNS.SHORT_DE,
@@ -70,7 +72,7 @@ export function DataCompleteness({ data, headers }: DataCompletenessProps) {
<div className="flex flex-col h-full bg-slate-800 rounded-xl border border-slate-700 shadow-xl overflow-hidden">
<div className="p-4 border-b border-slate-700 bg-slate-800/50">
<h2 className="text-lg font-semibold text-white">Data Completeness</h2>
<p className="text-sm text-slate-400">Evaluating 10 key fields per product.</p>
<p className="text-sm text-slate-400">Evaluating 12 key fields per product.</p>
</div>
<div className="overflow-x-auto flex-1">