From 2cae71f8a85ca258dfda9ade25a0b5dbb6993626 Mon Sep 17 00:00:00 2001 From: Jaime Idolpx Date: Tue, 9 Jun 2026 18:45:23 -0400 Subject: [PATCH] feat(DevicesPage): enhance cassette URL input with browser button and media selection --- src/app/components/DevicesPage.tsx | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/app/components/DevicesPage.tsx b/src/app/components/DevicesPage.tsx index e21509c..1a8527a 100644 --- a/src/app/components/DevicesPage.tsx +++ b/src/app/components/DevicesPage.tsx @@ -288,10 +288,31 @@ export default function DevicesPage({ config, setConfig, openDeviceId, onClearOp */}
- updateSetting(['cassette', 'url'], e.target.value)} className="w-full px-3 py-2 border border-neutral-300 rounded-lg" /> +
+ updateSetting(['cassette', 'url'], e.target.value)} + className="flex-1 px-3 py-2 border border-neutral-300 rounded-lg" + /> + +
+ {showCassetteUrlBrowser && ( + updateSetting(['cassette', 'url'], p)} + onClose={() => setShowCassetteUrlBrowser(false)} + /> + )} + {/* ── Hardware ── */}

User Port