change wording around background script -> background runnable

This commit is contained in:
Ruben Fiszel
2023-05-03 10:51:43 +02:00
parent 392d0f8b87
commit 16d8dbb29b
4 changed files with 8 additions and 8 deletions

View File

@@ -36,7 +36,7 @@
</div>
{#if $app?.hiddenInlineScripts?.length > 0}
<div class="font-bold text-lg">Background script inputs</div>
<div class="font-bold text-lg">Background runnable inputs</div>
<div class="gap-4 flex flex-col pt-4">
{#each $app?.hiddenInlineScripts ?? [] as script, index (script.name)}
<div class="border p-2">

View File

@@ -66,7 +66,7 @@
{/each}
</div>
<div>
<span class="text-xs font-semibold text-gray-800 p-2">Background scripts</span>
<span class="text-xs font-semibold text-gray-800 p-2">Background runnables</span>
<BackgroundScriptsOutput />
</div>
</div>

View File

@@ -156,13 +156,13 @@
<div>
<div class="w-full flex justify-between items-center mb-1">
<div class="text-xs text-gray-600 font-semibold truncate">
Background scripts
Background runnables
<Tooltip
class="mb-0.5"
documentationLink="https://docs.windmill.dev/docs/apps/app-runnable#background-script"
>
Background scripts are triggered upon global refresh or when their input changes. The
result of a background script can be shared among many components.
Background runnables are triggered upon global refresh or when their input changes. The
result of a background runnable can be shared among many components.
</Tooltip>
</div>
<Button
@@ -170,8 +170,8 @@
color="light"
variant="border"
btnClasses="!rounded-full !p-1"
title="Create a new background script"
aria-label="Create a new background script"
title="Create a new background runnable"
aria-label="Create a new background runnable"
on:click={createBackgroundScript}
>
<Plus size={14} class="text-gray-500" />

View File

@@ -20,7 +20,7 @@
<div class="flex flex-row items-center gap-2 text-xs">
Run on start and app refresh
<Tooltip wrapperClass="flex">
You may want to disable this so that the background script is only triggered by
You may want to disable this so that the background runnable is only triggered by
changes to other values or triggered by another computation on a button (See
'Recompute Others')
</Tooltip>