From c0704a9efce09ba4c8aa909b2450c2cedc5e86fe Mon Sep 17 00:00:00 2001 From: Guilhem Date: Mon, 1 Sep 2025 11:53:56 +0100 Subject: [PATCH] typo (#6503) * Fix typo * improve debounce on popover --- frontend/src/lib/components/RunChart.svelte | 6 +++--- .../components/meltComponents/Popover.svelte | 19 ++++++++++++------- .../lib/components/runs/JobRunsPreview.svelte | 18 +++++++++--------- .../src/lib/components/runs/RunRow.svelte | 2 +- .../src/lib/components/runs/RunsFilter.svelte | 6 +++--- 5 files changed, 28 insertions(+), 23 deletions(-) diff --git a/frontend/src/lib/components/RunChart.svelte b/frontend/src/lib/components/RunChart.svelte index 0ea14fec29..7d9d15ddd7 100644 --- a/frontend/src/lib/components/RunChart.svelte +++ b/frontend/src/lib/components/RunChart.svelte @@ -48,9 +48,9 @@ const SUCCESS_COLOR = '#4ade80' // const SUCCESS_COLOR_TRANSPARENT = '#c9b638' - const SUCCESS_COLOR_TRANSPARENT = $derived(mergeColors(SUCCESS_COLOR, getBackgorundColor(), 0.8)) + const SUCCESS_COLOR_TRANSPARENT = $derived(mergeColors(SUCCESS_COLOR, getBackgroundColor(), 0.8)) const FAIL_COLOR = '#f87171' - const FAIL_COLOR_TRANSPARENT = $derived(mergeColors(FAIL_COLOR, getBackgorundColor(), 0.8)) + const FAIL_COLOR_TRANSPARENT = $derived(mergeColors(FAIL_COLOR, getBackgroundColor(), 0.8)) ChartJS.register( Title, @@ -96,7 +96,7 @@ ChartJS.defaults.borderColor = darkMode ? 'rgba(255, 255, 255, 0.1)' : 'rgba(0, 0, 0, 0.1)' }) - function getBackgorundColor(): string { + function getBackgroundColor(): string { return darkMode ? '#2e3440' : '#ffffff' } function hexToRgb(hexColor: string): number[] { diff --git a/frontend/src/lib/components/meltComponents/Popover.svelte b/frontend/src/lib/components/meltComponents/Popover.svelte index cb1510cb43..3762b01ff7 100644 --- a/frontend/src/lib/components/meltComponents/Popover.svelte +++ b/frontend/src/lib/components/meltComponents/Popover.svelte @@ -44,7 +44,6 @@ function clearTimers() { clearDebounceClose() - clearDebounceOpen() } // Cleanup timers on component destruction @@ -124,10 +123,6 @@ () => openOnHover && close(), debounceDelay ) - let { debounced: debounceOpen, clearDebounce: clearDebounceOpen } = debounce( - () => openOnHover && open(), - debounceDelay - ) -
+
{job.schedule_path}
{#snippet text()} - 'Deploying a script, flow or an app launch a dependency job that create and then attach the - lockfile to the deployed item. This mechanism ensure that logic is always executed with the + 'Deploying a script, flow or an app launch a dependency job that creates and then attaches the + lockfile to the deployed item. This mechanism ensures that logic is always executed with the exact same direct and indirect dependencies.' {/snippet} @@ -163,7 +163,7 @@ {#snippet text()} 'Sync jobs that are triggered on every script deployment to sync the workspace with the Git - repository configured in the the workspace settings' + repository configured in the workspace settings' {/snippet} {/snippet}