diff --git a/frontend/src/lib/components/FlowPreviewContent.svelte b/frontend/src/lib/components/FlowPreviewContent.svelte index 5b820c813b..decc27a600 100644 --- a/frontend/src/lib/components/FlowPreviewContent.svelte +++ b/frontend/src/lib/components/FlowPreviewContent.svelte @@ -95,9 +95,21 @@ -
-
-
+
+
+ + +
@@ -110,27 +122,16 @@ ? `up to step ${$selectedId.split('-').join(',')}` : ' whole flow'}
-
- -
{/if} - {obj[extraField]}{obj[extraField]}{obj['path'] ?? ''}

diff --git a/frontend/src/lib/components/LogViewer.svelte b/frontend/src/lib/components/LogViewer.svelte index de56af03ad..2deb4b7f6d 100644 --- a/frontend/src/lib/components/LogViewer.svelte +++ b/frontend/src/lib/components/LogViewer.svelte @@ -18,8 +18,9 @@
-
{#if content}{content}{:else if isLoading}Waiting for job to start...{:else}No logs are available yet{/if}
+
{#if content}{content}{:else if isLoading}Waiting for job to start...{:else}No logs are available yet{/if}
Auto scroll diff --git a/frontend/src/lib/components/ModulePreview.svelte b/frontend/src/lib/components/ModulePreview.svelte index e3a35a5143..531f9095e1 100644 --- a/frontend/src/lib/components/ModulePreview.svelte +++ b/frontend/src/lib/components/ModulePreview.svelte @@ -84,7 +84,7 @@ {#if testJob != undefined && 'result' in testJob && testJob.result != undefined} -
+					
 						
 					
{:else} diff --git a/frontend/src/lib/components/PageHeader.svelte b/frontend/src/lib/components/PageHeader.svelte index 8b24fa9ce0..af5e22d780 100644 --- a/frontend/src/lib/components/PageHeader.svelte +++ b/frontend/src/lib/components/PageHeader.svelte @@ -6,7 +6,7 @@ export let primary: boolean = true -
+
{#if primary}

{title}

diff --git a/frontend/src/lib/components/ResourceEditor.svelte b/frontend/src/lib/components/ResourceEditor.svelte index 54d45d362d..04707f260c 100644 --- a/frontend/src/lib/components/ResourceEditor.svelte +++ b/frontend/src/lib/components/ResourceEditor.svelte @@ -125,7 +125,7 @@
{#if step === 1} -
+
{error ?? ''} Path diff --git a/frontend/src/lib/components/RunChart.svelte b/frontend/src/lib/components/RunChart.svelte index d5e5ec7862..95d0cc82ec 100644 --- a/frontend/src/lib/components/RunChart.svelte +++ b/frontend/src/lib/components/RunChart.svelte @@ -80,7 +80,10 @@ responsive: true, maintainAspectRatio: false, plugins: { - zoom: zoomOptions + zoom: zoomOptions, + legend: { + display: false + } }, scales: { x: { diff --git a/frontend/src/lib/components/ScriptEditor.svelte b/frontend/src/lib/components/ScriptEditor.svelte index 2746a668c4..e103fa4b9b 100644 --- a/frontend/src/lib/components/ScriptEditor.svelte +++ b/frontend/src/lib/components/ScriptEditor.svelte @@ -171,7 +171,7 @@
-
+
diff --git a/frontend/src/lib/components/SuperadminSettings.svelte b/frontend/src/lib/components/SuperadminSettings.svelte index f3cf30174c..f80caa11cb 100644 --- a/frontend/src/lib/components/SuperadminSettings.svelte +++ b/frontend/src/lib/components/SuperadminSettings.svelte @@ -101,8 +101,8 @@ {email} {super_admin ? 'yes' : ''} {login_type} - {name ?? ''} - {company ?? ''} + {name ?? ''} + {company ?? ''}
diff --git a/frontend/src/lib/components/common/drawer/DrawerContent.svelte b/frontend/src/lib/components/common/drawer/DrawerContent.svelte index bcef6747ab..15a30d6b59 100644 --- a/frontend/src/lib/components/common/drawer/DrawerContent.svelte +++ b/frontend/src/lib/components/common/drawer/DrawerContent.svelte @@ -2,6 +2,7 @@ import { faClose } from '@fortawesome/free-solid-svg-icons' import { createEventDispatcher } from 'svelte' import Icon from 'svelte-awesome' + import Button from '../button/Button.svelte' export let title: string | undefined = undefined export let overflow_y = true @@ -9,21 +10,26 @@
-
- {title} - +
+ + {title} +
+ {#if $$slots.submission} + + {/if} +
-
+
- {#if $$slots.submission} -
-
- -
-
- {/if}
diff --git a/frontend/src/lib/components/landing/FlowLandingBox.svelte b/frontend/src/lib/components/landing/FlowLandingBox.svelte index b2c7935454..0ca7ab5f91 100644 --- a/frontend/src/lib/components/landing/FlowLandingBox.svelte +++ b/frontend/src/lib/components/landing/FlowLandingBox.svelte @@ -14,7 +14,7 @@ >
{flow.summary || flow.path}
-
+
{flow.path}
diff --git a/frontend/src/lib/components/scriptEditor/LogPanel.svelte b/frontend/src/lib/components/scriptEditor/LogPanel.svelte index c65824ee76..39ba29e6b2 100644 --- a/frontend/src/lib/components/scriptEditor/LogPanel.svelte +++ b/frontend/src/lib/components/scriptEditor/LogPanel.svelte @@ -55,7 +55,8 @@ {#if drawerContent?.mode === 'json'} {:else if drawerContent?.mode === 'plain'} -
+			
 				{drawerContent?.content}
 			
{:else if drawerContent?.mode === 'deno' || drawerContent?.mode === 'python3' || drawerContent?.mode === 'go'} @@ -81,7 +82,7 @@ {#if previewJob != undefined && 'result' in previewJob && previewJob.result != undefined} -
+						
 							
 						
{:else} diff --git a/frontend/src/routes/__layout@root.svelte b/frontend/src/routes/__layout@root.svelte index f057584777..1e366a47f7 100644 --- a/frontend/src/routes/__layout@root.svelte +++ b/frontend/src/routes/__layout@root.svelte @@ -84,7 +84,7 @@ on:click={() => { menuOpen = !menuOpen }} - class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white" + class="ml-1 flex items-center justify-center h-8 w-8 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white border border-white" >
-
- Windmill +
+ + {#if !isCollapsed}Windmill{/if}
@@ -125,13 +126,16 @@ )} >
-
- {#if isCollapsed} - W - {:else} - Windmill - {/if} -
+
diff --git a/frontend/src/routes/resources.svelte b/frontend/src/routes/resources.svelte index 3cff67c13e..dbc70f8a7b 100644 --- a/frontend/src/routes/resources.svelte +++ b/frontend/src/routes/resources.svelte @@ -42,6 +42,7 @@ import ConfirmationModal from '$lib/components/common/confirmationModal/ConfirmationModal.svelte' import Drawer from '$lib/components/common/drawer/Drawer.svelte' import DrawerContent from '$lib/components/common/drawer/DrawerContent.svelte' + import Popover from '$lib/components/Popover.svelte' type ResourceW = Resource & { canWrite: boolean } type ResourceTypeW = ResourceType & { canWrite: boolean } @@ -216,8 +217,7 @@
- -
+
{#if loading.resources} {#each new Array(6) as _} @@ -238,7 +238,7 @@ { resourceViewerTitle = `Resource ${path}` @@ -262,12 +262,18 @@ > {#if is_oauth} - + + +
+ The resource is tied to an OAuth app. The token is refreshed automatically + if applicable. +
+
{/if} @@ -334,56 +340,58 @@ {/each} {:else} - - - name - description - - - - {#if resourceTypes} - {#each resourceTypes as { name, description, schema, canWrite }} - -
{ - resourceViewerTitle = `Resource type ${name}` - resourceViewerSchema = schema - resourceViewerDescription = description ?? '' - typeDrawerMode = 'view-type' - resourceViewer.openDrawer() - }}> - - - {#if canWrite} - - {/if} - - - {/each} - {:else if resources} - No resources types to display - {:else} - Loading... - {/if} - - +
+ + + name + description + + + + {#if resourceTypes} + {#each resourceTypes as { name, description, schema, canWrite }} + + { + resourceViewerTitle = `Resource type ${name}` + resourceViewerSchema = schema + resourceViewerDescription = description ?? '' + typeDrawerMode = 'view-type' + resourceViewer.openDrawer() + }}> + + + {#if canWrite} + + {/if} + + + {/each} + {:else if resources} + No resources types to display + {:else} + Loading... + {/if} + + +
{/if} diff --git a/frontend/src/routes/schedules.svelte b/frontend/src/routes/schedules.svelte index 319f31a6ec..1b8ffa6594 100644 --- a/frontend/src/routes/schedules.svelte +++ b/frontend/src/routes/schedules.svelte @@ -88,12 +88,12 @@ {#each schedules as { path, edited_by, edited_at, schedule, offset_, enabled, script_path, is_flow, extra_perms, canWrite }} {path} - {script_path}
-

+

{script?.path ?? 'Loading...'}

diff --git a/frontend/src/routes/user/login_callback/[client_name]@none.svelte b/frontend/src/routes/user/login_callback/[client_name]@none.svelte index f8f6f00525..7e991a6d03 100644 --- a/frontend/src/routes/user/login_callback/[client_name]@none.svelte +++ b/frontend/src/routes/user/login_callback/[client_name]@none.svelte @@ -50,8 +50,10 @@ }) - -
- + +
+
+ +
diff --git a/frontend/src/routes/variables.svelte b/frontend/src/routes/variables.svelte index 4bcd98c0a6..d072afefc9 100644 --- a/frontend/src/routes/variables.svelte +++ b/frontend/src/routes/variables.svelte @@ -85,7 +85,7 @@ -
+
{#if loading.variables} {#each new Array(3) as _} @@ -106,16 +106,18 @@ variableEditor.editVariable(path)} href="#{path}">{path}
- - {truncate(value ?? '******', 20)} + + + + {truncate(value ?? '****', 20)} + {#if is_secret} This item is secret {/if} - - + + {truncate(description ?? '', 50)} {#if is_oauth} - + + +
+ The variable is tied to an OAuth app. The token is refreshed automatically if + applicable. +
+
{/if} -
- {#if loading.contextual} - - {#each new Array(8) as _} - - {/each} - {:else} - - {/if} +
+
+ {#if loading.contextual} + + {#each new Array(8) as _} + + {/each} + {:else} + + {/if} +