diff --git a/frontend/src/pages/RoomsPage.tsx b/frontend/src/pages/RoomsPage.tsx index 80e0fbb..5eca520 100644 --- a/frontend/src/pages/RoomsPage.tsx +++ b/frontend/src/pages/RoomsPage.tsx @@ -88,48 +88,52 @@ export default function RoomsPage() { key={room.id} className="card card-interactive p-4 group" > + {/* Header: Name + Type Badge */}
-

- {room.name?.replace('[DEMO] ', '')} -

+
+

+ {room.name?.replace('[DEMO] ', '')} +

+ {room.sqft?.toLocaleString()} sqft • {room.capacity || '—'} cap +
{room.type}
-
-
- Size - - {room.sqft?.toLocaleString()} sqft - + {/* Primary: Sensor Data - Large & Prominent */} +
+
+
+ + {room.targetTemp || '—'} + °F +
+ Temp
-
- Capacity - - {room.capacity || '—'} plants - -
-
- Active Batches - - {room.batches?.length || 0} - +
+
+
+ + {room.targetHumidity || '—'} + % +
+ Humidity
- {room.targetTemp && ( -
-
- - {room.targetTemp}°F -
-
- - {room.targetHumidity}% -
+ {/* Secondary: Batch Count */} +
+
+
0 ? 'bg-success' : 'bg-subtle'}`} /> + + {room.batches?.length || 0} {room.batches?.length === 1 ? 'batch' : 'batches'} +
- )} + {room.batches?.length > 0 && ( + View → + )} +
))}