diff --git a/client/src/components/ControlPanel.jsx b/client/src/components/ControlPanel.jsx index 1a0e8f4..eabeb21 100644 --- a/client/src/components/ControlPanel.jsx +++ b/client/src/components/ControlPanel.jsx @@ -19,6 +19,10 @@ function TurtleCard({ turtle, isSelected, onSelect }) { dumpInventory: '#a855f7', dumping: '#a855f7', moving: '#06b6d4', + scan: '#8b5cf6', + extraction: '#f97316', + building: '#14b8a6', + autocraft: '#ec4899', unknown: '#6b7280' }; @@ -134,9 +138,36 @@ function TurtleDetails({ turtle }) { } + {turtle.error && ( +
+ Error: + {turtle.error} +
+ )} + {turtle.warning && ( +
+ Warning: + {turtle.warning} +
+ )} + {/* Peripherals section */} + {turtle.peripherals && Object.keys(turtle.peripherals).length > 0 && ( +
+

Peripherals

+
+ {Object.entries(turtle.peripherals).map(([side, type]) => ( +
+ {side}: + {type} +
+ ))} +
+
+ )} +

State Machine

@@ -204,6 +235,70 @@ function TurtleDetails({ turtle }) { > 🧭 Move To + + + +