Skip to content

Commit e07ba79

Browse files
jhfclaude
andcommitted
ui: Show percentage instead of batch counts in worker progress
The raw batch counts (e.g., "94/1184") were confusing since they could be misread as unit counts. Now both the navbar popover and the analysis page consistently show percentages, matching how import progress is displayed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 61ca42c commit e07ba79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/app/import/analyse-data-for-search-and-reports/statistical-units-refresher.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function PhaseProgressBar({ phase }: { phase: PhaseStatus | null }) {
2121
<div key={step.step}>
2222
<div className="flex justify-between text-xs text-gray-500 mb-0.5">
2323
<span>{label}</span>
24-
<span>{step.completed}/{step.total} ({pct}%)</span>
24+
<span>{pct}%</span>
2525
</div>
2626
<Progress value={pct} className="h-1.5" />
2727
</div>

app/src/components/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function PhaseProgressPopover({ phase }: { phase: PhaseStatus }) {
111111
<div key={step.step}>
112112
<div className="flex justify-between text-sm mb-1">
113113
<span>{label}</span>
114-
<span>{step.completed}/{step.total}</span>
114+
<span>{pct}%</span>
115115
</div>
116116
<Progress value={pct} className="h-2" />
117117
</div>

0 commit comments

Comments
 (0)