refactor(boss-dashboard): simplify rep card to loaded/claimed/orders

Drop the separate quotesLoaded metric and relabel quotesDoneFor as
"loaded" and quotesDoneBy as "claimed" — two near-duplicate numbers
per rep card was more confusing than useful.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Dave 2026-08-31 22:14:43 +02:00
parent f05fc5d9cf
commit e722788ab0

View file

@ -315,10 +315,9 @@ export default function BossDashboardView() {
</div>
<div className="min-w-0 flex-1">
<div className="text-sm font-medium truncate">{rep.name}</div>
<div className="mt-0.5 grid grid-cols-4 gap-1 text-center">
<MiniMetric label="loaded" value={rep.quotesLoaded} color="text-cyan-400" />
<MiniMetric label="for" value={rep.quotesDoneFor} color="text-violet-400" />
<MiniMetric label="done" value={rep.quotesDoneBy} color="text-emerald-400" />
<div className="mt-0.5 grid grid-cols-3 gap-1 text-center">
<MiniMetric label="loaded" value={rep.quotesDoneFor} color="text-cyan-400" />
<MiniMetric label="claimed" value={rep.quotesDoneBy} color="text-emerald-400" />
<MiniMetric label="orders" value={rep.ordersPlaced} color="text-orange-400" />
</div>
</div>
@ -432,7 +431,7 @@ export default function BossDashboardView() {
<div className="min-w-0">
<div className="text-sm font-semibold truncate">{sheetRep.name}</div>
<div className="text-xs text-muted-foreground">
{sheetRep.quotesLoaded} loaded · {sheetRep.quotesDoneBy} done
{sheetRep.quotesDoneFor} loaded · {sheetRep.quotesDoneBy} claimed
· {sheetRep.ordersPlaced} orders
</div>
</div>