From a9e67c601f0140252896236aac5902b22149dc00 Mon Sep 17 00:00:00 2001 From: Guilhem Date: Tue, 1 Oct 2024 10:38:34 +0200 Subject: [PATCH] changing mute toggle --- frontend/src/lib/components/Path.svelte | 5 +- .../details/ErrorHandlerToggleButtonV2.svelte | 65 +++++++++++++++++++ .../flows/content/FlowSettings.svelte | 5 +- 3 files changed, 69 insertions(+), 6 deletions(-) create mode 100644 frontend/src/lib/components/details/ErrorHandlerToggleButtonV2.svelte diff --git a/frontend/src/lib/components/Path.svelte b/frontend/src/lib/components/Path.svelte index cfda54228d..fd9c3dba9a 100644 --- a/frontend/src/lib/components/Path.svelte +++ b/frontend/src/lib/components/Path.svelte @@ -24,7 +24,6 @@ import ToggleButtonGroup from './common/toggleButton-v2/ToggleButtonGroup.svelte' import FolderEditor from './FolderEditor.svelte' import { random_adj } from './random_positive_adjetive' - import { Eye, Folder, Plus, SearchCode, User } from 'lucide-svelte' type PathKind = @@ -325,7 +324,7 @@
Full path @@ -334,7 +333,7 @@ readonly value={path} size={path?.length || 50} - class="font-mono !text-xs max-w-[calc(100%-70px)] !w-auto !h-[24px] !py-0 !border-l-0 !rounded-l-none grow" + class="font-mono !text-xs max-w-[calc(100%-70px)] !text-tertiary !w-auto !h-[24px] !py-0 !border-l-0 !rounded-l-none grow" on:focus={({ currentTarget }) => { currentTarget.select() }} diff --git a/frontend/src/lib/components/details/ErrorHandlerToggleButtonV2.svelte b/frontend/src/lib/components/details/ErrorHandlerToggleButtonV2.svelte new file mode 100644 index 0000000000..4794760a30 --- /dev/null +++ b/frontend/src/lib/components/details/ErrorHandlerToggleButtonV2.svelte @@ -0,0 +1,65 @@ + + + diff --git a/frontend/src/lib/components/flows/content/FlowSettings.svelte b/frontend/src/lib/components/flows/content/FlowSettings.svelte index a8a94b86a7..b693a7a746 100644 --- a/frontend/src/lib/components/flows/content/FlowSettings.svelte +++ b/frontend/src/lib/components/flows/content/FlowSettings.svelte @@ -18,7 +18,7 @@ import type { Schema } from '$lib/common' import Section from '$lib/components/Section.svelte' import Label from '$lib/components/Label.svelte' - import ErrorHandlerToggleButton from '$lib/components/details/ErrorHandlerToggleButton.svelte' + import ErrorHandlerToggleButtonV2 from '$lib/components/details/ErrorHandlerToggleButtonV2.svelte' import WorkerTagPicker from '$lib/components/WorkerTagPicker.svelte' import MetadataGen from '$lib/components/copilot/MetadataGen.svelte' @@ -272,11 +272,10 @@
-