feat: wireview pin-imbalance gauge, fan duty moved to temperatures

This commit is contained in:
ARIA committed 2026-10-05 20:34:06 +02:00
1 parent d9f5e34c80
commit dbb6856a6d
1 file changed
+13 -6
@@ -337,11 +337,11 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
max={13}
/>
<GaugeCard
label="Fan Duty"
value={fmt.pct(sample.fan_duty_pct)}
history={pluck(history, "fan_duty_pct")}
color="#fb923c"
max={100}
label="Pin Imbalance"
value={`${sample.pin_imbalance_a.toFixed(2)} A`}
history={pluck(history, "pin_imbalance_a")}
color="#fbbf24"
max={4}
/>
</div>
</div>
@@ -369,7 +369,7 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
<div className="text-xs text-zinc-500 uppercase tracking-wider font-semibold pb-3 border-b border-zinc-800">
Temperatures
</div>
<div className="grid grid-cols-2 md:grid-cols-4 gap-3 mt-3">
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 mt-3">
<GaugeCard
label="Temp In"
value={fmt.celsius(sample.temp_in_c, 1)}
@@ -398,6 +398,13 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
color="#a78bfa"
max={90}
/>
<GaugeCard
label="Fan Duty"
value={fmt.pct(sample.fan_duty_pct)}
history={pluck(history, "fan_duty_pct")}
color="#fb923c"
max={100}
/>
</div>
</div>