From efb4ccaaef19f01e3a3e99da0d256def2d156fc1 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 17 Apr 2026 16:29:04 +0000 Subject: [PATCH] chore(cleanup): remove unused BottomSheet component and dead testConnection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BottomSheet.svelte is not imported anywhere — NewTaskInput hand-rolls its own sheet. SetupScreen had a standalone testConnection() function that was only ever reachable through connectAndBrowse which calls test_webdav_connection directly; the standalone variant had no callers. --- .../src/lib/components/BottomSheet.svelte | 42 ------------------- apps/tauri/src/lib/screens/SetupScreen.svelte | 14 ------- 2 files changed, 56 deletions(-) delete mode 100644 apps/tauri/src/lib/components/BottomSheet.svelte diff --git a/apps/tauri/src/lib/components/BottomSheet.svelte b/apps/tauri/src/lib/components/BottomSheet.svelte deleted file mode 100644 index 4d2aa7d..0000000 --- a/apps/tauri/src/lib/components/BottomSheet.svelte +++ /dev/null @@ -1,42 +0,0 @@ - - - -
{ if (e.key === "Escape") onclose(); }} ->
- - - - - diff --git a/apps/tauri/src/lib/screens/SetupScreen.svelte b/apps/tauri/src/lib/screens/SetupScreen.svelte index 7a1ad4f..f727487 100644 --- a/apps/tauri/src/lib/screens/SetupScreen.svelte +++ b/apps/tauri/src/lib/screens/SetupScreen.svelte @@ -77,20 +77,6 @@ // ── WebDAV handlers ─────────────────────────────────────────────── - async function testConnection() { - testStatus = "testing"; - try { - await invoke("test_webdav_connection", { - url: webdavUrl, - username: webdavUser, - password: webdavPass, - }); - testStatus = "ok"; - } catch { - testStatus = "fail"; - } - } - async function connectAndBrowse() { testStatus = "testing"; try {