diff --git a/frontend/src/lib/components/CliHelpBox.svelte b/frontend/src/lib/components/CliHelpBox.svelte index 01e56108f9..bb74675e5e 100644 --- a/frontend/src/lib/components/CliHelpBox.svelte +++ b/frontend/src/lib/components/CliHelpBox.svelte @@ -15,25 +15,25 @@
- { opened = !opened }} > CLI quick setup - +
{#if opened} {:else} diff --git a/frontend/src/lib/components/InlineCodeCopy.svelte b/frontend/src/lib/components/InlineCodeCopy.svelte index 8d4c239660..a0d057e2db 100644 --- a/frontend/src/lib/components/InlineCodeCopy.svelte +++ b/frontend/src/lib/components/InlineCodeCopy.svelte @@ -7,7 +7,7 @@ -
{content}  copyToClipboard(content)} class="cursor-pointer ml-2"
 		>
- - +
+
Schedule to run later
+ +
+
+
+
{/if} @@ -207,18 +203,6 @@ {/if} -
-
- -
-
{:else if !topButton} - - {/if} - {#if viewCliOptions} -
+ +
-
+
{/if} +
{/if}
diff --git a/frontend/src/lib/components/SavedInputs.svelte b/frontend/src/lib/components/SavedInputs.svelte index 564fe1e99e..0c1ef2c728 100644 --- a/frontend/src/lib/components/SavedInputs.svelte +++ b/frontend/src/lib/components/SavedInputs.svelte @@ -219,7 +219,7 @@ size="xs" variant="border" spacingSize="xs2" - btnClasses={'group-hover:block hidden'} + btnClasses={'group-hover:block hidden -my-2'} on:click={(e) => { e.stopPropagation() i.isEditing = !i.isEditing @@ -236,7 +236,7 @@ size="xs" spacingSize="xs2" variant="border" - btnClasses={i.isEditing ? 'block' : 'group-hover:block hidden'} + btnClasses={i.isEditing ? 'block' : 'group-hover:block hidden -my-2'} on:click={() => deleteInput(i)} > diff --git a/frontend/src/lib/components/flows/CreateActionsApp.svelte b/frontend/src/lib/components/flows/CreateActionsApp.svelte index cc827086cc..008438b68c 100644 --- a/frontend/src/lib/components/flows/CreateActionsApp.svelte +++ b/frontend/src/lib/components/flows/CreateActionsApp.svelte @@ -11,6 +11,7 @@ import { RawAppService } from '$lib/gen' import { workspaceStore } from '$lib/stores' import Path from '../Path.svelte' + import Tooltip from '../Tooltip.svelte' let drawer: Drawer | undefined = undefined let rawAppDrawer: Drawer | undefined = undefined @@ -89,7 +90,16 @@ placeholder="Short summary to be displayed when listed" /> -

IIFE JS code

+

IIFE JS code Bundle that contains an IIFE code that will mount itself to the root element. Any framework + of vanilla JS can be used to create an app and templates are provided for the major + frameworks: React/Vue/Svelte. In those frontend apps, it is possible to inline scripts + directly to be executed by windmill backend which make it a convenient way of building apps + with both frontend and backend all-in-one.

{ //savedInputPaneSize = savedInputPaneSize == 0 ? 30 : 0 savedInputPaneSize.set($savedInputPaneSize === 0 ? 30 : 0) diff --git a/frontend/src/routes/(root)/(logged)/scripts/run/[...hash]/+page.svelte b/frontend/src/routes/(root)/(logged)/scripts/run/[...hash]/+page.svelte index c17f895e66..cccfcf6483 100644 --- a/frontend/src/routes/(root)/(logged)/scripts/run/[...hash]/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/scripts/run/[...hash]/+page.svelte @@ -10,12 +10,12 @@ import { inferArgs } from '$lib/infer' import { userStore, workspaceStore } from '$lib/stores' import { - canWrite, + canWrite, defaultIfEmptyString, displayDaysAgo, emptySchema, emptyString, - getModifierKey, + getModifierKey } from '$lib/utils' import { faEye, faPen, faPlay } from '@fortawesome/free-solid-svg-icons' import { Pane, Splitpanes } from 'svelte-splitpanes' @@ -229,7 +229,7 @@