From 487c8617e4fe2ba2d514a2f76c3264a18cfb8600 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Mon, 3 Nov 2025 16:41:26 -0600 Subject: [PATCH] first iteration of basic layout --- src/device/DeviceWizard.tsx | 4 +- .../autoDetect/DeviceScannedComponents.tsx | 10 +-- .../autoDetect/OneWire/PortComponent.tsx | 89 ++++++++++++++++--- .../autoDetect/OneWire/ScannedOneWirePort.tsx | 9 +- src/pages/Device.tsx | 11 ++- 5 files changed, 100 insertions(+), 23 deletions(-) diff --git a/src/device/DeviceWizard.tsx b/src/device/DeviceWizard.tsx index 6c8f361..cf0a061 100644 --- a/src/device/DeviceWizard.tsx +++ b/src/device/DeviceWizard.tsx @@ -142,8 +142,8 @@ export default function DeviceWizard(props: Props) { )} {selectedPort && - // selectedPort.addressType === quack.AddressType.ADDRESS_TYPE_CONFIGURABLE_PIN_ARRAY && - // device.featureSupported("detectOneWire") && + selectedPort.addressType === quack.AddressType.ADDRESS_TYPE_CONFIGURABLE_PIN_ARRAY && + device.featureSupported("detectOneWire") && selectedPort.autoDetectable && ( {scannedI2C !== undefined && - + I2C Sensors @@ -244,10 +244,10 @@ export default function DeviceScannedComponents(props: Props){ } - + } {scannedOneWire.length > 0 && - + Pin Port Sensors @@ -265,8 +265,8 @@ export default function DeviceScannedComponents(props: Props){ } }) return( - - + + Port: {portLabel}