From 8cea8a40d0f45c3207ea8a61e82e9e25b022a861 Mon Sep 17 00:00:00 2001 From: Jaime Idolpx Date: Tue, 9 Jun 2026 04:47:27 -0400 Subject: [PATCH] feat(App, DevicesPage): rename 'Tools' to 'System' and update hardware section header to 'User Port' --- src/app/App.tsx | 2 +- src/app/components/DevicesPage.tsx | 61 ++++++------------------------ 2 files changed, 13 insertions(+), 50 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 20166e6..7b65042 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -319,7 +319,7 @@ function AppPage({ title, onBack }: { title: string; onBack: () => void }) { className="flex-1 flex flex-col items-center gap-1 py-2" > - Tools + System diff --git a/src/app/components/DevicesPage.tsx b/src/app/components/DevicesPage.tsx index 662a961..fe7984f 100644 --- a/src/app/components/DevicesPage.tsx +++ b/src/app/components/DevicesPage.tsx @@ -1,6 +1,7 @@ import { useEffect, useState } from 'react'; -import { Printer, HardDrive, Network, Box, ChevronRight, RefreshCw } from 'lucide-react'; +import { Printer, HardDrive, Network, Box, ChevronRight, RefreshCw, FolderOpen } from 'lucide-react'; import DeviceDetailOverlay from './DeviceDetailOverlay'; +import MediaBrowser from './MediaBrowser'; import { toast } from 'sonner'; import { useWs } from '../ws'; @@ -35,6 +36,7 @@ export default function DevicesPage({ config, setConfig, openDeviceId, onClearOp }; const [selectedDeviceIndex, setSelectedDeviceIndex] = useState(null); const [isScanning, setIsScanning] = useState(false); + const [showCassetteUrlBrowser, setShowCassetteUrlBrowser] = useState(false); const hardware = config.hardware || {}; const modem = config.modem || {}; @@ -353,17 +355,8 @@ export default function DevicesPage({ config, setConfig, openDeviceId, onClearOp {/* ── Hardware ── */} -

Hardware

+

User Port

-
- - -
- {/* ── Modem ── */} -

Modem

+ {/* ── Hardware ── */} + {/*

Other Hardware

- +
-
- - -
-
- - {/* ── BOIP ── */} -

BOIP

-
-
- - -
-
- - updateSetting(['boip', 'host'], e.target.value)} className="w-full px-3 py-2 border border-neutral-300 rounded-lg" /> -
-
- - updateSetting(['boip', 'port'], e.target.value)} className="w-full px-3 py-2 border border-neutral-300 rounded-lg" /> -
-
+ */} ); }