diff --git a/admin/inertia/components/drug-reference/DrugResultRow.tsx b/admin/inertia/components/drug-reference/DrugResultRow.tsx index 16ca043..b16496a 100644 --- a/admin/inertia/components/drug-reference/DrugResultRow.tsx +++ b/admin/inertia/components/drug-reference/DrugResultRow.tsx @@ -47,11 +47,11 @@ export default function DrugResultRow({ result, brandFirst = false }: Props) { return (
- + {headline} @@ -67,14 +67,14 @@ export default function DrugResultRow({ result, brandFirst = false }: Props) { )} {result.labelCount > 1 && ( - + {result.labelCount} labels )}
{subParts.length > 0 && ( -
+
{subParts.map((p, i) => ( {p} @@ -84,7 +84,7 @@ export default function DrugResultRow({ result, brandFirst = false }: Props) { )}
- + ) } diff --git a/admin/inertia/components/drug-reference/IngestStatus.tsx b/admin/inertia/components/drug-reference/IngestStatus.tsx index d9b9c62..251ec37 100644 --- a/admin/inertia/components/drug-reference/IngestStatus.tsx +++ b/admin/inertia/components/drug-reference/IngestStatus.tsx @@ -62,14 +62,14 @@ function PhaseBlock({ ? 'text-green-700' : running ? accentRunning - : 'text-gray-500' + : 'text-text-secondary' const barColor = failed ? 'bg-red-500' : completed ? 'bg-green-500' : running ? accentRunning.replace('text-', 'bg-') - : 'bg-gray-300' + : 'bg-surface-elevated' return (
@@ -83,14 +83,14 @@ function PhaseBlock({ )}
-

{explainer}

+

{explainer}

{counterLeft && ( -
{counterLeft}
+
{counterLeft}
)} {(running || completed || failed) && ( -
+
+
Elapsed {fmtDuration(elapsedMs)} {dlBytes && {dlBytes} this part}
@@ -214,11 +214,11 @@ export default function IngestStatus({ status, onRefresh, pollIntervalMs = 3000 const ingestTiming = status.phase === 'ingesting' && elapsedMs !== null ? ( -
+
Elapsed {fmtDuration(elapsedMs)} {etaMs !== null && ( - ~{fmtDuration(etaMs)} left (estimate) + ~{fmtDuration(etaMs)} left (estimate) )}
@@ -247,11 +247,11 @@ export default function IngestStatus({ status, onRefresh, pollIntervalMs = 3000 counterLeft={ ingest.state === 'running' || ingest.state === 'completed' ? ( - + {ingest.records.toLocaleString()} {expected > 0 && ( - of ~{expected.toLocaleString()} labels + of ~{expected.toLocaleString()} labels )} ) : undefined @@ -262,7 +262,7 @@ export default function IngestStatus({ status, onRefresh, pollIntervalMs = 3000 {/* Reassurance while busy */} {busy && ( -

+

Runs in the background — you can leave this page and it keeps going. Search turns on automatically when ingest finishes.

@@ -270,7 +270,7 @@ export default function IngestStatus({ status, onRefresh, pollIntervalMs = 3000 {/* Ready footer */} {status.phase === 'ready' && status.lastUpdated && ( -

FDA data version {status.lastUpdated}.

+

FDA data version {status.lastUpdated}.

)}
) diff --git a/admin/inertia/components/drug-reference/IngredientGroup.tsx b/admin/inertia/components/drug-reference/IngredientGroup.tsx index 777a498..c3bc711 100644 --- a/admin/inertia/components/drug-reference/IngredientGroup.tsx +++ b/admin/inertia/components/drug-reference/IngredientGroup.tsx @@ -40,7 +40,7 @@ export default function IngredientGroup({
@@ -574,7 +574,7 @@ export default function DrugReferenceIndex({