From b5ce7f9f8f2942eec330466e92b280e20354c20a Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Thu, 20 Aug 2026 22:07:00 +0200 Subject: [PATCH] refactor: remove unused automation dropdown components Two dropdown components in the automations area, one for folders and one for terminals, are not imported by any route or component. Both were superseded by a different picker that is in use today. This removes around 265 lines. Two English translation keys lose their last consumer with them and are left in place, since regenerating the locale catalogues does not belong in this change. --- .../automations/FolderDropdown.svelte | 148 ------------------ .../automations/TerminalDropdown.svelte | 118 -------------- 2 files changed, 266 deletions(-) delete mode 100644 src/lib/components/automations/FolderDropdown.svelte delete mode 100644 src/lib/components/automations/TerminalDropdown.svelte diff --git a/src/lib/components/automations/FolderDropdown.svelte b/src/lib/components/automations/FolderDropdown.svelte deleted file mode 100644 index 6e731ba310..0000000000 --- a/src/lib/components/automations/FolderDropdown.svelte +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - {#if folderOptions.length > 0} -
-
- {$i18n.t('Folders')} -
- {/if} - - {#each filteredFolderOptions as folder (folder.id)} - {@const path = folderPath(folder)} - - {:else} -
- {folderOptions.length > 0 ? $i18n.t('No results found') : $i18n.t('No folders')} -
- {/each} - - diff --git a/src/lib/components/automations/TerminalDropdown.svelte b/src/lib/components/automations/TerminalDropdown.svelte deleted file mode 100644 index 5e058f10d0..0000000000 --- a/src/lib/components/automations/TerminalDropdown.svelte +++ /dev/null @@ -1,118 +0,0 @@ - - -{#if terminalServers.length > 0} - - - -
-
- {$i18n.t('Terminal')} -
- - {#each terminalServers as server (server.id)} - - {/each} - - {#if terminalServerId} -
-
- {$i18n.t('Working Directory')} -
-
- e.stopPropagation()} - on:input={onChange} - /> -
-
- {/if} -
-
-{/if}