mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
progress
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
</span>
|
||||
{/if}
|
||||
{#if title}
|
||||
<span class="text-xs font-bold text-gray-900 flex flex-col">{title}</span>
|
||||
<div class="text-sm font-bold text-gray-900">{title}</div>
|
||||
{/if}
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
</script>
|
||||
|
||||
<FlowCard title="For loop">
|
||||
<div slot="header" class="grow">
|
||||
<input bind:value={$flowStore.value.modules[index].summary} placeholder={'Summary'} />
|
||||
</div>
|
||||
<div>
|
||||
<div class="p-6 flex flex-col">
|
||||
{#if $flowStore.value.modules[index].value.type === 'forloopflow'}
|
||||
@@ -52,7 +55,7 @@
|
||||
/>
|
||||
</PropPickerWrapper>
|
||||
</div>
|
||||
<span class="mb-2 text-sm font-bold">Skip failures</span>
|
||||
<span class="my-2 text-sm font-bold">Skip failures</span>
|
||||
|
||||
<Toggle
|
||||
bind:checked={$flowStore.value.modules[index].value.skip_failures}
|
||||
|
||||
@@ -88,8 +88,8 @@
|
||||
<div slot="icon">
|
||||
<span>{index + 1}</span>
|
||||
</div>
|
||||
<div slot="content">
|
||||
<span>For loop</span>
|
||||
<div slot="content" class="truncate block w-full">
|
||||
<span>{mod.summary || 'For loop'}</span>
|
||||
</div>
|
||||
</FlowModuleSchemaItem>
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ export function editorConfig(model: any, code: string, lang: string, automaticLa
|
||||
//lineNumbers: 'off',
|
||||
//lineDecorationsWidth: 0,
|
||||
lineNumbersMinChars: 4,
|
||||
scrollbar: { alwaysConsumeMouseWheel: false },
|
||||
lineNumbers: (ln) => '<span class="pr-4 text-gray-400">' + ln + '</span>',
|
||||
folding: false,
|
||||
scrollBeyondLastLine: false,
|
||||
|
||||
+24
-18
@@ -43,27 +43,31 @@ components:
|
||||
failure_module:
|
||||
$ref: "#/components/schemas/FlowModule"
|
||||
retry:
|
||||
type: object
|
||||
properties:
|
||||
constant:
|
||||
type: object
|
||||
properties:
|
||||
attempts:
|
||||
type: integer
|
||||
seconds:
|
||||
type: integer
|
||||
exponential:
|
||||
type: object
|
||||
properties:
|
||||
attempts:
|
||||
type: integer
|
||||
multiplier:
|
||||
type: integer
|
||||
seconds:
|
||||
type: integer
|
||||
$ref: "#/components/schemas/Retry"
|
||||
|
||||
required:
|
||||
- modules
|
||||
|
||||
Retry:
|
||||
type: object
|
||||
properties:
|
||||
constant:
|
||||
type: object
|
||||
properties:
|
||||
attempts:
|
||||
type: integer
|
||||
seconds:
|
||||
type: integer
|
||||
exponential:
|
||||
type: object
|
||||
properties:
|
||||
attempts:
|
||||
type: integer
|
||||
multiplier:
|
||||
type: integer
|
||||
seconds:
|
||||
type: integer
|
||||
|
||||
FlowModule:
|
||||
type: object
|
||||
properties:
|
||||
@@ -86,6 +90,8 @@ components:
|
||||
type: string
|
||||
suspend:
|
||||
type: integer
|
||||
retry:
|
||||
$ref: "#/components/schemas/Retry"
|
||||
required:
|
||||
- input_transforms
|
||||
- value
|
||||
|
||||
Reference in New Issue
Block a user